public static AssetHistoryItem GetAssetHistoryItem(LoginUser loginUser, int historyID) { AssetHistory assetHistory = new AssetHistory(loginUser); assetHistory.LoadByHistoryID(historyID); if (assetHistory.IsEmpty) { return(null); } else { return(assetHistory[0]); } }
public AssetHistoryItem(DataRow row, AssetHistory assetHistory) : base(row, assetHistory) { _assetHistory = assetHistory; }