Esempio n. 1
0
        public ActionResult ContactUs()
        {
            HttpCookie nameCookie = Request.Cookies["_RRAUN"];

            if (nameCookie != null)
            {
                InformationServiceWrapper inforObj  = new InformationServiceWrapper();
                List <ContactUsModel>     ModelList = new List <ContactUsModel>();
                ModelList             = inforObj.FetchContactForAdmin();
                ViewBag.ContactusList = ModelList;
                return(View());
            }
            else
            {
                return(RedirectToAction("Login", "Admin"));
            }
        }