Beispiel #1
0
 public JsonResult ResetAllSystemData(bool isResetConfig)
 {
     try
     {
         SettingFacade fac = new SettingFacade(this.CurrentClient.ApplicationDBConnectionString);
         fac.ResetSystemData();
         return(new JsonResult {
             Data = DandBSettingLang.msgResetDataSuccessfully
         });
     }
     catch (Exception)
     {
         return(new JsonResult {
             Data = DandBSettingLang.msgResetDataUnsuccessfully
         });
     }
 }