public ActionResult _AssetSummary() { AssetSummaryViewModel model = new AssetSummaryViewModel(); string username = UserQueries.GetCurrentUsername(); model.RealEstates = RealEstateQueries.GetRealEstateSummaryByUser(username); model.Businesses = BusinessQueries.GetBusinessSummaryByUser(username); model.BankDeposits = BankDepositQueries.GetBankDepositSummaryByUser(username); model.Stocks = StockQueries.GetStockSummaryByUser(username); model.Insurances = InsuranceQueries.GetInsuranceSummaryByUser(username); model.OtherAssets = OtherAssetQueries.GetOtherAssetSummaryByUser(username); return(PartialView(model)); }
public HomeViewModel(AssetSummaryViewModel assetSummaryViewModel) { AssetSummaryViewModel = assetSummaryViewModel; }
public HomeViewModel(AssetSummaryViewModel assetSummaryViewModel, MajorIndexListingViewModel majorIndexListingViewModel) { AssetSummaryViewModel = assetSummaryViewModel; MajorIndexListingViewModel = majorIndexListingViewModel; }
public HomeViewModel(MajorIndexListingViewModel majorIndexListingViewModel, AssetSummaryViewModel assetSummaryViewModel) { MajorIndexListingViewModel = majorIndexListingViewModel; AssetSummaryViewModel = assetSummaryViewModel; }