public Repository() { context = new TaskManagerEntities(); dbSet = context.Set <T>(); }
public GenericRepo(TaskManagerEntities context) { this.context = context; this.set = context.Set <TEntity>(); }