Esempio n. 1
0
 public AllPortfoliosReport OnUpdatePortfoliosReport(
     [Service] IMarketService marketService,
     [Service] IBalanceService balanceService,
     [EventMessage] int userId,
     [Service] IAggregatePortfolioService aggregatePortfolioService)
 {
     return(QueryGetters.GetAllPortfoliosReport(userId, marketService, balanceService, aggregatePortfolioService));
 }
Esempio n. 2
0
 public async Task <AssetPricesReport> OnUpdatePricesReport(
     [Service] IMarketService marketService,
     [EventMessage] int userId)
 {
     return(await QueryGetters.GetAllAssetPricesReport(userId, marketService));
 }
Esempio n. 3
0
 public async Task <List <BondReport> > OnUpdateBondReports(
     [Service] IPortfolioService portfolioService,
     [EventMessage] int userId, int portfolioId)
 {
     return(await QueryGetters.GetBondReports(userId, portfolioService, portfolioId));
 }