public string UpdateAll(PassingGoodsMasterModel model, string userId) { try { _db.SP_PASSINGGOODS_UPDATE_ALLDATA(model.Id, 12, model.ApprovalLine, model.ApprovalLineJson, userId); return("Ok"); } catch (Exception ex) { LogHelper.Error("PassingGoodsRepository UpdateAll: " + ex.Message + " Inner Exception: " + ex.InnerException.Message); return(ex.ToString()); } }