public bool DoworkOrder(int id) { OrderInfo order = OrderInfoDAL.GetEntitys(o => o.OId == id).FirstOrDefault(); order.OState = 1; return(OrderInfoDAL.Update(order) > 0?true : false); }
public bool DoworkOrder(int id) { OrderInfo order = OrderInfoDAL.GetEntitys(o => o.OId == id).FirstOrDefault(); order.OState = 1; return(OrderInfoDAL.Update(order) > 0?true : false); }