public UsersController(degraafContext context, IUserService userService)
 {
     _context     = context;
     _userService = (UserService)userService;
 }
 public TablesController(degraafContext context)
 {
     _context = context;
 }
 public ProductsController(degraafContext context)
 {
     _context = context;
 }
 public OrdersController(degraafContext context)
 {
     _context = context;
 }
 public ReceiptsController(degraafContext context)
 {
     _context = context;
 }
Exemple #6
0
 public UserService(IOptions <AppSettings> appSettings, degraafContext context)
 {
     _context     = context;
     _appSettings = appSettings.Value;
 }
 public ReservationsController(degraafContext context)
 {
     _context = context;
 }