Пример #1
0
 public RestaurantFacade(IRestaurantTypeService restaurantTypeService,
                         IRestaurantTypeTranslationService restaurantTypeTranslationService,
                         IRestaurantService restaurantService, IRestaurantTranslationService restaurantTranslationService,
                         IUserService userService, IRestaurantAdminService restaurantAdminService, IManageStorage manageStorage, IPackageService packageService, IMenuService menuService, IFeedBackService feedBackService)
 {
     _restaurantTypeService            = restaurantTypeService;
     _restaurantTypeTranslationService = restaurantTypeTranslationService;
     _restaurantService            = restaurantService;
     _restaurantTranslationService = restaurantTranslationService;
     _userService            = userService;
     _restaurantAdminService = restaurantAdminService;
     _manageStorage          = manageStorage;
     _packageService         = packageService;
     _menuService            = menuService;
     _feedBackService        = feedBackService;
 }
Пример #2
0
 public RestaurantFacade(IRestaurantTypeService restaurantTypeService,
                         IRestaurantTypeTranslationService restaurantTypeTranslationService
                         , IRestaurantService restaurantService, IRestaurantTranslationService restaurantTranslationService,
                         IUserService userService, IRestaurantAdminService restaurantAdminService
                         , IManageStorage manageStorage, IRestaurantWaiterService restaurantWaiterService, IAdminService globalAdminService, IUnitOfWorkAsync unitOfWork, IPackageService packageService, IMenuService menuService, IFeedBackService feedBackService) : base(unitOfWork)
 {
     _restaurantTypeService            = restaurantTypeService;
     _restaurantTypeTranslationService = restaurantTypeTranslationService;
     _restaurantService            = restaurantService;
     _restaurantTranslationService = restaurantTranslationService;
     _userService             = userService;
     _restaurantAdminService  = restaurantAdminService;
     _manageStorage           = manageStorage;
     _restaurantWaiterService = restaurantWaiterService;
     _globalAdminService      = globalAdminService;
     _packageService          = packageService;
     _menuService             = menuService;
     _feedBackService         = feedBackService;
 }