Esempio n. 1
0
 public TripsUnitOfWork(TripsDbContext context)
 {
     _context     = context;
     Organization = new OrganizationRepository(_context);
     Allocations  = new AllocationRepository(_context);
     UserRoles    = new UserRoleRepository(_context);
 }
 public AllocationRepository(TripsDbContext context)
 {
     _context = context;
 }
Esempio n. 3
0
 public OrganizationRepository(TripsDbContext context)
 {
     _context = context;
 }
 public UserRoleRepository(TripsDbContext context)
 {
     _context = context;
 }