Esempio n. 1
0
 public virtual void ExcluirMotivo_Entrega(Motivo_Entrega Motivo_Entrega)
 {
     try
     {
         _Motivo_EntregaRepositorio.Deletar(c => c == Motivo_Entrega);
         _Motivo_EntregaRepositorio.Commit();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 2
0
 public virtual void AlterarMotivo_Entrega(Motivo_Entrega Motivo_Entrega)
 {
     try
     {
         Motivo_Entrega.alteracao = DateTime.Now;
         _Motivo_EntregaRepositorio.Atualizar(Motivo_Entrega);
         _Motivo_EntregaRepositorio.Commit();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 3
0
 public virtual void AdicionarMotivo_Entrega(Motivo_Entrega Motivo_Entrega)
 {
     try
     {
         Motivo_Entrega.inclusao = DateTime.Now;
         _Motivo_EntregaRepositorio.Adicionar(Motivo_Entrega);
         _Motivo_EntregaRepositorio.Commit();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }