Пример #1
0
 public void DeleteEmpresa(Empresa entity)
 {
     _set.Remove(GetByIdEmpresa(entity.id)); Commit();
 }
Пример #2
0
 public void UpdateEmpresa(Empresa entity)
 {
     _set.AddOrUpdate(entity);
     Commit();
 }