public ResultStatus GetStatus() { var status = new UserResultForItem(_userId, _item, Date); status.Calc(); return(status.Status); }
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; }
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); }