Exemple #1
0
 public RegisterService(CrazyShopDbContext dbContext, ILoginService loginService)
 {
     DbContext    = dbContext;
     LoginService = loginService;
 }
Exemple #2
0
 public ProductsController(CrazyShopDbContext context)
 {
     _context = context;
 }
Exemple #3
0
 public ClientsController(CrazyShopDbContext context)
 {
     _context = context;
 }
Exemple #4
0
 public SimpleLoginService(CrazyShopDbContext dbContext)
 {
     DbContext = dbContext;
 }
Exemple #5
0
 public EmployeesController(CrazyShopDbContext context)
 {
     _context = context;
 }
Exemple #6
0
 public JwtLoginService(CrazyShopDbContext dbContext, IOptions <AppSettings> appSettings)
     : base(dbContext)
 {
     _appSettings = appSettings.Value;
 }
Exemple #7
0
 public PurchasesController(CrazyShopDbContext context)
 {
     _context = context;
 }