// Get and find data public async Task <TEntity> Get(int id) { return(await _context.Set <TEntity>().FindAsync(id)); }