/// <summary>
 /// Initializes a new instance of the <see cref="PhotosController"/> class.
 /// </summary>
 /// <param name="mediaRepository">The media repository.</param>
 /// <param name="tagRepository">The tag repository.</param>
 /// <param name="rotateService">The rotate service.</param>
 /// <param name="managePhotoService">The manage photo service.</param>
 /// <param name="mediaFileService">The media file service.</param>
 /// <param name="locationRepository">The location repository.</param>
 /// <param name="albumRepository">The album repository.</param>
 /// <param name="persistentCollectionService">The persistent collection service.</param>
 public PhotosController(IMediaRepository mediaRepository,
                         ITagRepository tagRepository,
                         IImageService rotateService,
                         IManagePhotoFactory managePhotoService,
                         IMediaFileService mediaFileService, ILocationRepository locationRepository, IAlbumRepository albumRepository, IPersistentCollectionService persistentCollectionService)
     : base(managePhotoService, persistentCollectionService)
 {
     _mediaRepository    = mediaRepository;
     _albumRepository    = albumRepository;
     _locationRepository = locationRepository;
     _mediaFileService   = mediaFileService;
     _rotateService      = rotateService;
     _tagRepository      = tagRepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PhotosController"/> class.
 /// </summary>
 /// <param name="mediaRepository">The media repository.</param>
 /// <param name="tagRepository">The tag repository.</param>
 /// <param name="rotateService">The rotate service.</param>
 /// <param name="managePhotoService">The manage photo service.</param>
 /// <param name="mediaFileService">The media file service.</param>
 /// <param name="locationRepository">The location repository.</param>
 /// <param name="albumRepository">The album repository.</param>
 /// <param name="persistentCollectionService">The persistent collection service.</param>
 public PhotosController(IMediaRepository mediaRepository,
     ITagRepository tagRepository,
     IImageService rotateService,
     IManagePhotoFactory managePhotoService,
     IMediaFileService mediaFileService, ILocationRepository locationRepository, IAlbumRepository albumRepository, IPersistentCollectionService persistentCollectionService)
     : base(managePhotoService, persistentCollectionService)
 {
     _mediaRepository = mediaRepository;
     _albumRepository = albumRepository;
     _locationRepository = locationRepository;
     _mediaFileService = mediaFileService;
     _rotateService = rotateService;
     _tagRepository = tagRepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PhotoBaseController"/> class.
 /// </summary>
 /// <param name="managePhotoService">The manage photo service.</param>
 /// <param name="persistentCollectionService">The persistent collection service.</param>
 protected PhotoBaseController(IManagePhotoFactory managePhotoService, IPersistentCollectionService persistentCollectionService)
 {
     _managePhotoService = managePhotoService;
        this.persistentCollectionService = persistentCollectionService;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PhotoBaseController"/> class.
 /// </summary>
 /// <param name="managePhotoService">The manage photo service.</param>
 /// <param name="persistentCollectionService">The persistent collection service.</param>
 protected PhotoBaseController(IManagePhotoFactory managePhotoService, IPersistentCollectionService persistentCollectionService)
 {
     _managePhotoService = managePhotoService;
     this.persistentCollectionService = persistentCollectionService;
 }