public AlbumCollectionController(IAlbumRepo albumRepo, IMapper mapper) { _albumRepo = albumRepo ?? throw new ArgumentNullException(nameof(albumRepo)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public HomeController(IBookRepo bookRepo, IAlbumRepo albumRepo, IGameRepo gameRepo) { br = bookRepo; ar = albumRepo; gr = gameRepo; }
public UserService(AppDbContext ctx, IUserRepo userRepo, IPhotoRepo photoRepo, IAlbumRepo albumRepo) : base(ctx) { _userRepo = userRepo; _photoRepo = photoRepo; _albumRepo = albumRepo; }
public AlbumController(IAlbumRepo repository, IMapper mapper, ILog logger) { this._repository = repository; this._mapper = mapper; this._logger = logger; }
public AlbumService(AppDbContext ctx, IAlbumRepo albumRepo, IPhotoRepo photoRepo) : base(ctx) { _albumRepo = albumRepo; _photoRepo = photoRepo; }
public SyncAlbumController(IAlbumRepo albumRepo) { _albumRepo = albumRepo ?? throw new ArgumentNullException(nameof(albumRepo)); }