Exemplo n.º 1
0
 public ManualUploadController(RepositoryPayload repoPayload)
 {
     _repoImageMeta    = repoPayload.GetFoodMarkerImageRepository();
     _repoImageFile    = repoPayload.GetFileRepository();
     _repoFoodMarker   = repoPayload.GetFoodMarkerRepository();
     _repoFoodCategory = repoPayload.GetFoodCategoryRepository();
     _repoRestaurant   = repoPayload.GetRestaurantRepository();
 }
 public FoodCategoryService(RepositoryPayload repoPayload,
                            IMapper mapper)
 {
     _repo   = repoPayload.GetFoodCategoryRepository();
     _mapper = mapper;
 }