Esempio n. 1
0
 public async Task<string> SavePrivacyPolicy(CMSInfo aCMSInfo)
 {
     string lPath = HttpContext.Current.Server.MapPath("~/FrontendPartials/privacypolicy/");
     string lFileName = "privacypolicy_" + aCMSInfo.LanguageCode + ".html";
     SaveFileString(lPath, lFileName, aCMSInfo.Content);
     return aCMSInfo.Content;
 }
Esempio n. 2
0
 public async Task<string> SaveContactUS(CMSInfo aCMSInfo)
 {
     string lPath = HttpContext.Current.Server.MapPath("~/FrontendPartials/contactus/");
     string lFileName = "contactus_" + aCMSInfo.LanguageCode + ".html";
     SaveFileString(lPath, lFileName, aCMSInfo.Content);
     return aCMSInfo.Content;
 }
Esempio n. 3
0
 public async Task<string> SaveRegisterInfo(CMSInfo aCMSInfo)
 {
     string lPath = HttpContext.Current.Server.MapPath("~/FrontendPartials/registerinfo/");
     string lFileName = "registerinfo_" + aCMSInfo.LanguageCode + ".html";
     SaveFileString(lPath, lFileName, aCMSInfo.Content);
     return aCMSInfo.Content;
 }