public string CheckPackageTestDependencyRule(string packageIds, string testIds) { if (!string.IsNullOrEmpty(packageIds)) { packageIds = packageIds.Substring(0, packageIds.Length - 1); } if (!string.IsNullOrEmpty(testIds)) { testIds = testIds.Substring(0, testIds.Length - 1); } var masterDal = new MasterDAL(); return(masterDal.CheckPackageTestDependencyRule(packageIds, testIds)); }