Exemple #1
0
 public AccountController(
     UserManager <User> userManager,
     SignInManager <User> signInManager,
     IConfiguration configuration,
     RestoranDBContext context
     )
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _configuration = configuration;
     _context       = context ?? throw new ArgumentNullException(nameof(context));
 }
Exemple #2
0
 public MealsController(RestoranDBContext context)
 {
     _context = context;
 }
 public RecipesController(RestoranDBContext context)
 {
     _context = context;
 }
Exemple #4
0
 public OwnersController(RestoranDBContext context)
 {
     _context = context;
 }
 public LocationsController(RestoranDBContext context)
 {
     _context = context;
 }
 public TablesController(RestoranDBContext context)
 {
     _context = context;
 }
 public WorkPlacesController(RestoranDBContext context)
 {
     _context = context;
 }
Exemple #8
0
 public SpecialOffersController(RestoranDBContext context)
 {
     _context = context;
 }
 public ShiftsController(RestoranDBContext context)
 {
     _context = context;
 }
Exemple #10
0
 RecipeService(RestoranDBContext ctx)
 {
     this.RestoranDBContextt = ctx;
 }
Exemple #11
0
 public CountryController(RestoranDBContext context)
 {
     _context = context;
 }
Exemple #12
0
 public RecipeController(RestoranDBContext ctx)
 {
     this.RestoranDBContextt = ctx;
 }
Exemple #13
0
 public CategoriesController(RestoranDBContext context)
 {
     _context = context;
 }
 public CitiesController(RestoranDBContext context)
 {
     _context = context;
 }
 public RestaurantsController(RestoranDBContext context)
 {
     _context = context;
 }
 public SchedulesController(RestoranDBContext context)
 {
     _context = context;
 }
Exemple #17
0
 public UnitMenusController(RestoranDBContext context)
 {
     _context = context;
 }
 public TablePositionsController(RestoranDBContext context)
 {
     _context = context;
 }