コード例 #1
0
 public MenuCategoryBusiness(IMapper mapper,
                             IMenuCategoryRepository menuCategoryRepository,
                             IRestaurantRepository restaurantRepository)
 {
     _mapper = mapper;
     _menuCategoryRepository = menuCategoryRepository;
     _restaurantRepository   = restaurantRepository;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 public MenuCategoryController(IMenuCategoryRepository menuCategoryRepository)
 {
     _menuCategoryRepository = menuCategoryRepository;
 }
コード例 #4
0
 public HomeController(ICarouselRepository carousel, IMenuCategoryRepository menuCategory)
 {
     carouselRepository     = carousel;
     menuCategoryRepository = menuCategory;
 }
コード例 #5
0
 public AdminMenuCategorieController(IMenuCategoryRepository menuCategory)
 {
     menuCategoryRepository = menuCategory;
     ViewBag.SelectedMenu   = "admin";
 }
コード例 #6
0
 public AdminDisheController(IDishRepository dish, IMenuCategoryRepository menuCategory)
 {
     dishRepository         = dish;
     menuCategoryRepository = menuCategory;
     ViewBag.SelectedMenu   = "admin";
 }