public UnitOfWork(McDbContext context) { _context = context; Adresses = new AdresseRepository(_context); Events = new EventRepository(_context); Routes = new RouteRepository(_context); Users = new UserRepository(_context); }
public EventRepository(McDbContext context) : base(context) { }
public Repository(McDbContext context) { _context = context; }
public UserRepository(McDbContext context) : base(context) { }
public RouteRepository(McDbContext mcDbContext) : base(mcDbContext) { }
public AdresseRepository(McDbContext context) : base(context) { }