public Repository(ITodoTasksDbContext context) { this.context = context; this.set = context.Set <T>(); }
public TodoTasksData(ITodoTasksDbContext context) { this.context = context; this.repositories = new Dictionary <Type, object>(); }