public JsonResult ServeEdit(PosConsume model) { var apiResult = new APIResult(); try { PosConsumeBll.ServeEdit(model); apiResult.SeqId = model.Id; } catch (Exception ex) { apiResult.Ret = -1; apiResult.Msg = ex.Message; } return(Json(apiResult)); }
public JsonResult ServeEdit(PosConsume model) { var apiResult = new APIResult(); try { PosConsumeBll.ServeEdit(model); apiResult.SeqId = model.Id; } catch (Exception ex) { apiResult.Ret = -1; apiResult.Msg = ex.Message; } return(Json(apiResult)); }