Exemplo n.º 1
0
        public BookController(IHttpContextAccessor httpContextAccessor, ITempDataDictionaryFactory tempData)
        {
            HttpContextAccessor = httpContextAccessor;
            myTempData          = tempData;
            DashboardModel dashboard = new DashboardModel(HttpContextAccessor, myTempData);
            bool           flag      = dashboard.validUserSession();

            if (flag)
            {
                dashboard.loadDataTemp(dashboard);
            }
        }