public void Inserir(List <T> entities) { entities.ForEach(entity => { InnerDbSet.Add(entity); }); Context.SaveChanges(); }
public void Inserir(T entity) { InnerDbSet.Add(entity); Context.SaveChanges(); }
public void Inserir(List <T> entities) { entities.ForEach(entity => { InnerDbSet.Add(entity); }); Context.SaveChanges(); }
public void Inserir(T entity) { InnerDbSet.Add(entity); Context.SaveChanges(); }