I have create a web api using Interface but I have a issue .
Severity Code Description Project File Line Suppression State
Error CS0311 The type 'WebApiEF.EmpServices.EmpServices' cannot be used as type parameter 'TImplementation' in the generic type or method 'ServiceCollectionServiceExtensions.AddScoped
builder.Services.AddScoped
Bohdan StupakPosted Jan 3, 2022, 10:55 AM