예제 #1
0
        public ResultStatus GetStatus()
        {
            var status = new UserResultForItem(_userId, _item, Date);

            status.Calc();

            return(status.Status);
        }
예제 #2
0
        public static IList<UserResultForItem> GetStatisticForThemeForUser(int userId, int themeId)
        {
            var items = StudentRecordFinder.GetItemsForTheme(themeId);

            var result = new List<UserResultForItem>();

            foreach (var item in items)
            {
                var ur = new UserResultForItem(userId, item, null);
                ur.Calc();
                result.Add(ur);
            }

            return result;
        }
예제 #3
0
        public static IList <UserResultForItem> GetStatisticForThemeForUser(int userId, int themeId)
        {
            var items = StudentRecordFinder.GetItemsForTheme(themeId);

            var result = new List <UserResultForItem>();

            foreach (var item in items)
            {
                var ur = new UserResultForItem(userId, item, null);
                ur.Calc();
                result.Add(ur);
            }

            return(result);
        }