public static AssetsViewItem GetAssetsViewItem(LoginUser loginUser, int assetID) { AssetsView assetsView = new AssetsView(loginUser); assetsView.LoadByAssetID(assetID); if (assetsView.IsEmpty) { return(null); } else { return(assetsView[0]); } }
public AssetsViewItem(DataRow row, AssetsView assetsView) : base(row, assetsView) { _assetsView = assetsView; }