public TEntity GetFirst(Func <TEntity, bool> predicate)
 {
     return(DbEntitySet.First(predicate));
 }