C# (CSharp) Reviewer.DAL.Infrastructure ReviewerDbContext.SaveChanges - 2 examples found. These are the top rated real world C# (CSharp) examples of Reviewer.DAL.Infrastructure.ReviewerDbContext.SaveChanges extracted from open source projects. You can rate examples to help us improve the quality of examples.
public T Insert(T entity)
{
if (entity == null)
{
throw new ArgumentNullException(nameof(entity));
}
_entities.Add(entity);
_dbContext.SaveChanges();
return(entity);
}