コード例 #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;
 }