public DataService(IUserRepository userApiRepository, IMenuRepository menuApiRepository, IDishRepository dishApiRepository, ICustomerRepository customerApiRepository, IDelivererRepository delivererApiRepository, IEventRepository eventApiRepository, IIngredientRepository ingredientApiRepository) { _userRepo = userApiRepository; _menuRepo = menuApiRepository; _dishRepo = dishApiRepository; _customerRepo = customerApiRepository; _delivererRepo = delivererApiRepository; _eventRepo = eventApiRepository; _ingredientRepo = ingredientApiRepository; }
public DelivererService(IDelivererRepository deliveryRepository, IMapper mapper) { this.mapper = mapper; this.deliveryRepository = deliveryRepository; }