コード例 #1
0
 public PhotoService(RepositoryPayload repoPayload,
                     IMapper mapper)
 {
     _repoImageMeta = repoPayload.GetFoodMarkerImageRepository();
     _repoImageFile = repoPayload.GetFileRepository();
     _mapper        = mapper;
 }
コード例 #2
0
 public ManualUploadController(RepositoryPayload repoPayload)
 {
     _repoImageMeta    = repoPayload.GetFoodMarkerImageRepository();
     _repoImageFile    = repoPayload.GetFileRepository();
     _repoFoodMarker   = repoPayload.GetFoodMarkerRepository();
     _repoFoodCategory = repoPayload.GetFoodCategoryRepository();
     _repoRestaurant   = repoPayload.GetRestaurantRepository();
 }