public MenuCategoryBusiness(IMapper mapper,
                             IMenuCategoryRepository menuCategoryRepository,
                             IRestaurantRepository restaurantRepository)
 {
     _mapper = mapper;
     _menuCategoryRepository = menuCategoryRepository;
     _restaurantRepository   = restaurantRepository;
 }
 public OptionBusiness(IMapper mapper,
                       IAdminGroupRepository adminGroupRepository,
                       IRestaurantRepository restaurantRepository,
                       IRestaurantBranchRepository restaurantBranchRepository,
                       IMenuCategoryRepository menuCategoryRepository,
                       IMenuUnitRepository menuUnitRepository,
                       IMenuSizeRepository menuSizeRepository,
                       IStateRepository stateRepository,
                       IStateCityRepository stateCityRepository,
                       ICustomerRepository customerRepository,
                       IOrderChannelRepository orderChannelRepository,
                       IRestaurantTableRepository restaurantTableRepository,
                       IAdminAccountRepository adminAccountRepository,
                       IOrderProcessRepository orderProcessRepository,
                       IIngredientRepository ingredientRepository,
                       IMenuDefinitionRepository menuDefinitionRepository,
                       IMenuRepository menuRepository,
                       ITaxRepository taxRepository)
 {
     _mapper = mapper;
     _adminGroupRepository       = adminGroupRepository;
     _restaurantRepository       = restaurantRepository;
     _restaurantBranchRepository = restaurantBranchRepository;
     _menuCategoryRepository     = menuCategoryRepository;
     _menuUnitRepository         = menuUnitRepository;
     _menuSizeRepository         = menuSizeRepository;
     _stateRepository            = stateRepository;
     _stateCityRepository        = stateCityRepository;
     _customerRepository         = customerRepository;
     _orderChannelRepository     = orderChannelRepository;
     _restaurantTableRepository  = restaurantTableRepository;
     _adminAccountRepository     = adminAccountRepository;
     _orderProcessRepository     = orderProcessRepository;
     _ingredientRepository       = ingredientRepository;
     _menuDefinitionRepository   = menuDefinitionRepository;
     _menuRepository             = menuRepository;
     _taxRepository = taxRepository;
 }
Beispiel #3
0
 public MenuCategoryController(IMenuCategoryRepository menuCategoryRepository)
 {
     _menuCategoryRepository = menuCategoryRepository;
 }
Beispiel #4
0
 public HomeController(ICarouselRepository carousel, IMenuCategoryRepository menuCategory)
 {
     carouselRepository     = carousel;
     menuCategoryRepository = menuCategory;
 }
 public AdminMenuCategorieController(IMenuCategoryRepository menuCategory)
 {
     menuCategoryRepository = menuCategory;
     ViewBag.SelectedMenu   = "admin";
 }
 public AdminDisheController(IDishRepository dish, IMenuCategoryRepository menuCategory)
 {
     dishRepository         = dish;
     menuCategoryRepository = menuCategory;
     ViewBag.SelectedMenu   = "admin";
 }