public void Delete(OrdenDTO entity) { try { Orden pedido = Mapper.Map <Orden>(entity); _pedidoRepository.Delete(pedido); } catch (Exception ex) { throw ex; } }
public bool Delete(int id) { return(ordenrepo.Delete(id)); }
public bool Delete(TbPrOrden domain) { return(repository.Delete(domain)); }