public static UserAssignmentHistoryItem GetUserAssignmentHistoryItem(LoginUser loginUser, int userAssignmentHistoryID) { UserAssignmentHistory userAssignmentHistory = new UserAssignmentHistory(loginUser); userAssignmentHistory.LoadByUserAssignmentHistoryID(userAssignmentHistoryID); if (userAssignmentHistory.IsEmpty) { return(null); } else { return(userAssignmentHistory[0]); } }
public UserAssignmentHistoryItem(DataRow row, UserAssignmentHistory userAssignmentHistory) : base(row, userAssignmentHistory) { _userAssignmentHistory = userAssignmentHistory; }