Exemple #1
0
 public JsonResult DuplicateData(string Tag = null, string LOBTag = null, string CountryCode = null, int CountryGroupId = 0)
 {
     try
     {
         SettingFacade sfac    = new SettingFacade(this.CurrentClient.ApplicationDBConnectionString);
         string        Message = sfac.RemoveDuplicateRecords(Helper.oUser.UserId, Tag, LOBTag, CountryCode, CountryGroupId);
         // D&B - Provide Confirmation Button on De-Duplicate Data Filter (MP-721)
         return(Json(new { result = true, message = Message }, JsonRequestBehavior.AllowGet));
     }
     catch (Exception)
     {
         return(Json(new { result = false, message = DandBSettingLang.msgSettingNotUpdate }, JsonRequestBehavior.AllowGet));
     }
 }