コード例 #1
0
        public async Task <ActionResult> Index(decimal todayCode, int categoryId)
        {
            //get info detail
            var model = new TotalProductToDayModel();

            model.CategoryModel = _apiCategoryAPI.GetCategoryById(categoryId);
            model.Quantity      = await _apiRequestWareAP.GetTotalOrder(todayCode);

            model.QuantityActive = await _apiTotalProductToDayAPI.GetTotalOrder(todayCode);

            return(View(model));
        }