public virtual void AlterarPedido_Lente(Pedido_Lente Pedido_Lente) { try { _Pedido_LenteRepositorio.Atualizar(Pedido_Lente); _Pedido_LenteRepositorio.Commit(); } catch (Exception ex) { throw ex; } }
public virtual void ExcluirPedido_Lente(Pedido_Lente Pedido_Lente) { try { _Pedido_LenteRepositorio.Deletar(c => c == Pedido_Lente); _Pedido_LenteRepositorio.Commit(); } catch (Exception ex) { throw ex; } }