public BaseController() { _db = new NaccNigDbContext(); _query = new QueryCommand(); var model = _query.GetPaymentStatus(); //userId = User.Identity.GetUserId(); ; }
protected override void OnActionExecuted(ActionExecutedContext filterContext) { base.OnActionExecuted(filterContext); bool hasPayedMembershipRegistration = false; var model = _query.GetPaymentStatus(); ViewBag.LayoutViewModel = model; }