public PhotoManager( IPhotoRepository photoRepository, IPhotoGroupRepository photoGroupRepository, ILogger <PhotoManager> logger) { Guard.NotNull(photoRepository, nameof(photoRepository)); Guard.NotNull(photoGroupRepository, nameof(photoGroupRepository)); Guard.NotNull(logger, nameof(logger)); _photoRepository = photoRepository; _photoGroupRepository = photoGroupRepository; _logger = logger; }
public PhotosController(IPhotoGroupRepository repo) : base(repo) { }
public ModelFactory(HttpRequestMessage message, IPhotoGroupRepository repo) { _urlHelper = new UrlHelper(message); _repo = repo; }
public UsersController(IPhotoGroupRepository repo, IPhotoGroupIdentityService identityService) : base(repo) { _identityService = identityService; }