public ActionResult Index()
        {
            HierTagihBusiness business = new HierTagihBusiness();

            business.SetUserAuth(ViewBag.UserAuth);

            ViewBag.IsEditable = business.IsEditable();

            return(View());
        }
        public ActionResult ImportTagih()
        {
            HierTagihBusiness business = new HierTagihBusiness();

            business.SetUserAuth(ViewBag.UserAuth);

            if (!business.IsEditable())
            {
                TempData["AlertMessage"] = new AlertMessage(StaticMessage.ERR_ACCESS_DENIED);

                return(RedirectToAction("Index"));
            }

            List <HierSalesViewModel> model = null;

            if (TempData["_Data"] != null)
            {
                model = TempData["_Data"] as List <HierSalesViewModel>;
            }

            return(View(model));
        }