public JsonResult MD(long[] Ids) { var apiResult = new APIResult(); var user = UserContext.CurrentUser; try { PosConsumeBll.MD(Ids); } catch (Exception ex) { apiResult.Ret = -1; apiResult.Msg = ex.Message; } return(Json(apiResult)); }