public async Task <IEnumerable <TEntity> > GetAll()
 {
     return(await _context.Set <TEntity>().ToListAsync());
 }