示例#1
0
 public bool UpdateOrder(IEnumerable <UpdateOrderModel> model)
 {
     foreach (var item in model)
     {
         db_.UpdateListField <int>(item.Id, "Order", item.NewIndex);
     }
     return(true);
 }