protected string GenerateHtml() { try { var surah = int.Parse(Request["surah"] ?? "1"); var ayah = int.Parse(Request["ayah"] ?? "1"); return(HTMLParser.GetCorpusHtml(surah, ayah)); } catch (Exception x) { return(x.Message); } }
protected string GenerateHtml() { try { var surah = int.Parse(Request["surah"] ?? "1"); var ayah = int.Parse(Request["ayah"] ?? "1"); return(HTMLParser.GetCorpusHtml(surah, ayah, !(Request.Cookies["l"] != null && Request.Cookies["l"].Value == "1"))); } catch (Exception x) { return(x.Message); } }