public ArtistController(IArtistRepo artistRepo, IMapper mapper, ILinkService <ArtistDto, ArtistResourceParameters> linkService) { _artistRepo = artistRepo; _mapper = mapper; _linkService = linkService; }
public Service(string conn) { this._conn = conn; _artistRepo = new ArtistDbRepo(_conn); _employeeRepo = new EmployeesDbRepo(_conn); _officeRepo = new OfficeDbRepo(_conn); _showRepo = new ShowDbRepo(_conn); _transactionRepo = new TransDbRepo(_conn); }
public IArtistRepo GetArtistRep() { return arRep != null ? arRep : arRep = new ArtistRepository(); }
public ArtistsController([FromServices] IArtistRepo artistRepo) { this.ArtistRepo = artistRepo; }
public ArtistsController(IArtistRepo repository) { _repo = repository; }
public ArtistValuesController(IArtistRepo _repo) => repo = _repo;
public IArtistRepo GetArtistRep() { return(arRep != null ? arRep : arRep = new ArtistRepository()); }