Example #1
0
 public GenericRepository(MvcProjesiContext db)
 {
     this.db = db;
     table   = db.Set <T>();
 }
Example #2
0
 public GenericRepository()
 {
     db    = new MvcProjesiContext();
     table = db.Set <T>();
 }