Example #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);
 }
Example #2
0
 public ShowServices()
 {
     repository = new ShowRepo();
     mapper     = new ShowMap();
 }