public static string SRSelected(int rsdid, int srid, int srext) { var result = WTS.WTSPage.CreateDefaultResult(); if (RQMT.RQMTDefectsImpactSR_Add(rsdid, srext == 0 ? srid : 0, srext == 1 ? srid : 0)) { result["success"] = "true"; } return(WTS.WTSPage.SerializeResult(result)); }