コード例 #1
0
        public async Task getImagePerForecast(int stockId)
        {
            stockId = FirstShop(stockId);

            ItExecutionPlanShop itExecutionPlanShop = await _iitExecutionPlanShopRepository.getInfoForStockId(stockId);

            ItExecutionPlanShopModel itExecutionPlanShopModel = _mapper.Map <ItExecutionPlanShop, ItExecutionPlanShopModel>(itExecutionPlanShop);

            getImageForecast(itExecutionPlanShopModel);
        }
コード例 #2
0
        public async Task <ItExecutionPlanShop> getInfoForStockId(int stockId)
        {
            ItExecutionPlanShop itExecutionPlanShop = await _avroraContext.ItExecutionPlanShops.Where(x => x.StockId == stockId).FirstOrDefaultAsync();

            return(itExecutionPlanShop);
        }