public CustomerDietCommandHandler(ICustomerDietRepository customerDietRepository, ICustomerRepository customerRepository, ICustomerDislikeFoodRepository customerDislikeFoodRepository, IUnitOfWork uow, IMediatorHandler bus, IMemoryCache cache ) : base(uow, bus, cache) { _customerDietRepository = customerDietRepository; _customerRepository = customerRepository; _customerDislikeFoodRepository = customerDislikeFoodRepository; Bus = bus; Cache = cache; }
public FoodAppService( IFoodRepository foodRepository, IFoodComponentRepository foodComponentRepository, IComponentRepository componentRepository, ICustomerDislikeFoodRepository customerDislikeFoodRepository, IMapper mapper, IMediatorHandler bus ) { _foodRepository = foodRepository; _foodComponentRepository = foodComponentRepository; _componentRepository = componentRepository; _customerDislikeFoodRepository = customerDislikeFoodRepository; _mapper = mapper; Bus = bus; }