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