public bool ActualizarEstatusOrden(int UsuarioId, int MenuId, byte EstatusOrden) { bool retorno = false; OrdenDaoImpl ordenesDaoImpl = new OrdenDaoImpl(); Orden orden = ordenesDaoImpl.SelectByKey(new Orden { UsuarioId = UsuarioId, MenuId = MenuId }); orden.Estatus = EstatusOrden; if (ordenesDaoImpl.Update(orden) != null) { retorno = true; } return(retorno); }
public Orden ActualizarOrden(Orden orden) { OrdenDaoImpl ordenesDaoImpl = new OrdenDaoImpl(); return(ordenesDaoImpl.Update(orden)); }