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