Add items crud to api
This commit is contained in:
@@ -21,7 +21,7 @@ builder.Services.AddDbContext<AppDbContext>(options =>
|
||||
builder.Services.AddControllers();
|
||||
|
||||
// services
|
||||
builder.Services.AddScoped<UserService>();
|
||||
builder.Services.AddScoped<ItemService>();
|
||||
builder.Services.AddScoped<JwtService>();
|
||||
|
||||
// configuration for jwt authentication
|
||||
|
||||
Reference in New Issue
Block a user