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