public GenericRepository(ToDoListEntities context)
 {
     _context = context;
     _dbSet   = _context.Set <T>();
 }