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; } }
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; } }
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; } }