public PhotoService(RepositoryPayload repoPayload, IMapper mapper) { _repoImageMeta = repoPayload.GetFoodMarkerImageRepository(); _repoImageFile = repoPayload.GetFileRepository(); _mapper = mapper; }
public ManualUploadController(RepositoryPayload repoPayload) { _repoImageMeta = repoPayload.GetFoodMarkerImageRepository(); _repoImageFile = repoPayload.GetFileRepository(); _repoFoodMarker = repoPayload.GetFoodMarkerRepository(); _repoFoodCategory = repoPayload.GetFoodCategoryRepository(); _repoRestaurant = repoPayload.GetRestaurantRepository(); }