Example #1
0
 public FoodMarkerService(RepositoryPayload repoPayload,
                            IMapper mapper)
 {
     _repo = repoPayload.GetFoodMarkerRepository();
     _completeFoodDataRepo = repoPayload.GetCompleteFoodDataRepository();
     _mapper = mapper;
 }
Example #2
0
 public ManualUploadController(RepositoryPayload repoPayload)
 {
     _repoImageMeta    = repoPayload.GetFoodMarkerImageRepository();
     _repoImageFile    = repoPayload.GetFileRepository();
     _repoFoodMarker   = repoPayload.GetFoodMarkerRepository();
     _repoFoodCategory = repoPayload.GetFoodCategoryRepository();
     _repoRestaurant   = repoPayload.GetRestaurantRepository();
 }