예제 #1
0
 public void Salvar(PlanoBackup model)
 {
     if (model.Id == 0)
     {
         _rep.Add(model);
     }
 }
예제 #2
0
 public void Excluir(PlanoBackup model)
 {
     _rep.Deletar(model);
 }
예제 #3
0
 public void Excluir(PlanoBackup model)
 {
     _rep.Excluir(model);
     _rep.Commit();
 }
예제 #4
0
 public void Salvar(PlanoBackup model)
 {
     _rep.Salvar(model);
     _rep.Commit();
 }