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; }
public RemoveRestaurantCommandHandler(IRestaurantRepository restaurantRepository, IDishCategoryRepository dishCategoryRepository, IDishRepository dishRepository) { this.restaurantRepository = restaurantRepository; this.dishCategoryRepository = dishCategoryRepository; this.dishRepository = dishRepository; }
public DishCategoryService(IDishCategoryRepository dishCategoryRepository, IUnitOfWork unitOfWork) { this.dishCategoryRepository = dishCategoryRepository; this.unitOfWork = unitOfWork; }