예제 #1
0
 public GetDishesOfRestaurantQueryHandler(
     IRestaurantRepository restaurantRepository,
     IDishCategoryRepository dishCategoryRepository,
     IDishRepository dishRepository
     )
 {
     this.restaurantRepository   = restaurantRepository;
     this.dishCategoryRepository = dishCategoryRepository;
     this.dishRepository         = dishRepository;
 }
 public AddOrChangeDishOfRestaurantCommandHandler(IRestaurantRepository restaurantRepository, IDishCategoryRepository dishCategoryRepository, IDishRepository dishRepository)
 {
     this.restaurantRepository   = restaurantRepository;
     this.dishCategoryRepository = dishCategoryRepository;
     this.dishRepository         = dishRepository;
 }
예제 #3
0
 public RemoveRestaurantCommandHandler(IRestaurantRepository restaurantRepository, IDishCategoryRepository dishCategoryRepository, IDishRepository dishRepository)
 {
     this.restaurantRepository   = restaurantRepository;
     this.dishCategoryRepository = dishCategoryRepository;
     this.dishRepository         = dishRepository;
 }
예제 #4
0
 public DishCategoryService(IDishCategoryRepository dishCategoryRepository, IUnitOfWork unitOfWork)
 {
     this.dishCategoryRepository = dishCategoryRepository;
     this.unitOfWork             = unitOfWork;
 }