Ejemplo n.º 1
0
 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 OfficeController(IOfficeRepo repository)
 {
     _repository = repository;
 }
Ejemplo n.º 3
0
 public OfficeService()
 {
     _IOfficeRepo = new OfficeRepo();
 }
Ejemplo n.º 4
0
 public OfficeService(IOfficeRepo officeRepo, IMapper mapper)
 {
     _officeRepo = officeRepo;
     _mapper     = mapper;
 }