public UnitOfWork(DemoContext context) { _context = context; }
public GenericRepository(DemoContext context) { Context = context; DbSet = Context.Set <T>(); }
public StudentRepository(DemoContext context) : base(context) { }
public UnitOfWork(DemoContext context) { _context = context; }
public GenericRepository(DemoContext context) { Context = context; DbSet = Context.Set <T>(); }
public StudentRepository(DemoContext context) : base(context) { }