Пример #1
0
 public Repository(ITodoTasksDbContext context)
 {
     this.context = context;
     this.set     = context.Set <T>();
 }
Пример #2
0
 public TodoTasksData(ITodoTasksDbContext context)
 {
     this.context      = context;
     this.repositories = new Dictionary <Type, object>();
 }