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