// GET: ContactUs
        public ActionResult Index()
        {
            var model = new ContactUSViewModel();

            model.sidebar.categories        = new BusinessHandler().GetCategories().ToSideBarViewModel();
            model.sidebar.productcategories = new BusinessHandler().GetProductCategories().ToSideBarViewModel();
            ViewBag.Categories      = new BusinessHandler().GetCategories().ToCategoryViewModelList();
            ViewBag.CompanyAddress  = new BusinessHandler().GetCompanyAddress().ToCompanyAdressViewModel();
            ViewBag.SocialMediaLink = new BusinessHandler().GetSocialMediaLinks().ToSocialMediaLinkViewModel();
            ViewBag.MyCart          = (Cart)Session["Cart"];
            ViewBag.UserName        = (string)Session["Username"];
            return(View(model));
        }
 public ActionResult AddContactUs(ContactUSViewModel contactusmodel)
 {
     new BusinessHandler().AddContactUs(contactusmodel.contactus);
     return(RedirectToAction("Index", "ContactUs"));
 }