예제 #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;
 }
예제 #3
0
 public OfficeService()
 {
     _IOfficeRepo = new OfficeRepo();
 }
예제 #4
0
 public OfficeService(IOfficeRepo officeRepo, IMapper mapper)
 {
     _officeRepo = officeRepo;
     _mapper     = mapper;
 }