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