Ejemplo 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;
 }
Ejemplo 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;
 }
Ejemplo 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;
 }