Esempio n. 1
0
 public Grade Add(Grade grade)
 {
     return(_context.Set <Grade>().Add(grade));
 }
Esempio n. 2
0
 public TEntity Add <TEntity>(TEntity entity) where TEntity : class, IModel <TEntity>
 {
     return(_context.Set <TEntity>().Add(entity));
 }