public async Task <TEntity> GetById <TEntity>(int Id) where TEntity : class { TEntity query = await DbContext.Set <TEntity>().FindAsync(Id); return(query); }
public async Task <TEntity> GetById <TEntity>(int Id) where TEntity : class { TEntity query = await DbContext.Set <TEntity>().FindAsync(Id); return(query); }