Esempio n. 1
0
        public ResultStatus GetStatus()
        {
            var status = new UserResultForPage(_userId, _page, Date);

            status.Calc();

            return(status.Status);
        }
Esempio n. 2
0
        public static IList <UserResultForPage> GetStatisticForThemeForUser(int userId, int themeId)
        {
            var pages = StudentRecordFinder.GetPagesForTheme(themeId);

            var result = new List <UserResultForPage>();

            foreach (var p in pages)
            {
                if (p.PageTypeRef == (int?)FX_PAGETYPE.Practice)
                {
                    var ur = new UserResultForPage(userId, p, null);
                    ur.Calc();
                    result.Add(ur);
                }
            }

            return(result);
        }
Esempio n. 3
0
        public static IList<UserResultForPage> GetStatisticForThemeForUser(int userId, int themeId)
        {
            var pages = StudentRecordFinder.GetPagesForTheme(themeId);

            var result = new List<UserResultForPage>();

            foreach (var p in pages)
            {
                if (p.PageTypeRef == (int?)FX_PAGETYPE.Practice)
                {
                    var ur = new UserResultForPage(userId, p, null);
                    ur.Calc();
                    result.Add(ur);
                }
            }

            return result;
        }