public RestaurantController(ApplicationContext db, IFileOnServer fileOnServer, IMapper mapper) { _restaurantService = new RestaurantService(db, mapper, fileOnServer); }
public RestaurantFoodController(ApplicationContext db, IFileOnServer fileOnServer, IMapper mapper) { _foodService = new RestaurantFoodService(db, fileOnServer, mapper); }
public RestaurantService(ApplicationContext db, IMapper mapper, IFileOnServer fileOnServer) : base(db, mapper) { _fileOnServer = fileOnServer; }
public RestaurantFoodService(ApplicationContext db, IFileOnServer fileOnServer, IMapper mapper) { _fileOnServer = fileOnServer; _db = db; _mapper = mapper; }