Absolute garbage, trying to forward JWT, bad idea

This commit is contained in:
lumijiez
2025-06-06 22:27:55 +03:00
parent 6c2c846a21
commit 87c4f27de5
23 changed files with 581 additions and 2202 deletions

View File

@@ -18,6 +18,9 @@ public static class Startup
services.AddScoped<IProductRepository, ProductRepository>();
services.AddScoped<IProductVariantRepository, ProductVariantRepository>();
services.AddScoped<ICategoryRepository, CategoryRepository>();
services.AddScoped<IRoleRepository, RoleRepository>();
services.AddScoped<IUserRepository, UserRepository>();
services.AddScoped<IUserRoleRepository, UserRoleRepository>();
services.AddScoped<IUnitOfWork, UnitOfWork>();
services.AddDbContext<ApplicationDbContext>(options =>