public ActionResult ActTemplate(int Id)
        {
            CMSHelper cmsHelper = new CMSHelper();
            int       count     = cmsHelper.ActDeActTemplate(Id, 1);

            if (count == 0)
            {
                TempData["CommonMessage"] = AppLogic.setMessage(count, "Template activated successfully.");
            }
            else
            {
                TempData["CommonMessage"] = AppLogic.setMessage(count, "Template activation failed.");
            }
            return(RedirectToAction("Index"));
        }