public SingerDomainService(ISingerRepository singerRepository, IUnitOfWork unitOfWork, ICheckFile checkFile) { this.singerRepository = singerRepository; this.unitOfWork = unitOfWork; this.checkFile = checkFile; }
public SongsController(ISongRepository songRepository, IAlbumRepository albumRepository, ISingerRepository singerRepository) { this._songRepository = songRepository; this._albumRepository = albumRepository; this._singerRepository = singerRepository; this._handler = new SongHandler(_songRepository, _albumRepository, _singerRepository); }
public SingerController(ApplicationDbContext dbContext) { _singerRepo = new SingerRepository(dbContext); _songRepo = new SongRepository(dbContext); _albumRepo = new AlbumRepository(dbContext); }
public SingerController() { this.repository = new Repository.SingerRepository(new ApplicationDbContext()); }
public SingerHandler(ISingerRepository repository) { _repository = repository; }
public SongHandler(ISongRepository repository, IAlbumRepository albumRepository, ISingerRepository singerRepository) { this._repository = repository; this._albumRepository = albumRepository; this._singerRepository = singerRepository; }
public SingerController(ISingerRepository repository) { _repository = repository; _handler = new SingerHandler(repository); }
public SingerService(ISingerRepository singerRepository) { _singerRepository = singerRepository; }