Example #1
0
        public BaseController()
        {
            _db    = new NaccNigDbContext();
            _query = new QueryCommand();

            var model = _query.GetPaymentStatus();
            //userId = User.Identity.GetUserId(); ;
        }
Example #2
0
        protected override void OnActionExecuted(ActionExecutedContext filterContext)
        {
            base.OnActionExecuted(filterContext);

            bool hasPayedMembershipRegistration = false;

            var model = _query.GetPaymentStatus();

            ViewBag.LayoutViewModel = model;
        }