예제 #1
0
 public TEntity GetById <TEntity>(int?id) where TEntity : class
 {
     return(_dbContext.Set <TEntity>().Find(id));
 }