Beispiel #1
0
 public PhotosService(IPhotosRepository photosRepository, IAmazonS3Repository amazonS3Repository, IHashtagsService hashtagsService, IMapper mapper, IFeedService feedService, IOptions <S3Settings> s3Settings)
 {
     _photosRepository   = photosRepository;
     _amazonS3Repository = amazonS3Repository;
     _hashtagsService    = hashtagsService;
     _mapper             = mapper;
     _feedService        = feedService;
     _s3Settings         = s3Settings.Value;
 }
Beispiel #2
0
 public PhotosController(IPhotosService photosService, IHashtagsService hashtagsService, IFeedService feedService)
 {
     _photosService   = photosService;
     _hashtagsService = hashtagsService;
     _feedService     = feedService;
 }