public RollOutViewModel(CurrentFinancialProductDto dto) { if (IsInDesignMode) { return; } CurrentFinancialProduct = dto; CommunicateManager.Invoke <IFinancialService>(p => { ExpectProfit = p.GetExpectProfit(dto.TradeID.ToString(CultureInfo.InvariantCulture)); }, UIManager.ShowErr); }
private bool CanExecuteOpenProductsInfoByAccountCommand(CurrentFinancialProductDto product) { return(true); }
private void ExecuteOpenProductsInfoByAccountCommand(CurrentFinancialProductDto product) { LocalUIManager.ShowFinancialProductInfo(product.ProductID); }