Ejemplo n.º 1
0
 public void Update(T entity)
 {
     _logger.LogInformation($"Removing an object of type {entity.GetType()} to the context.");
     _context.Update <T>(entity);
 }
Ejemplo n.º 2
0
 public EntityEntry <T> Update <T>(T item) where T : class
 {
     return(_context.Update(item));
 }