コード例 #1
0
        // GET: /characters/
        public IActionResult CommoditiesList()
        {
            ViewModels.CommodityViewModel model = new ViewModels.CommodityViewModel();
            model.CommodityCodes = new SelectList(_commodityRepository.ListAll());
            // var commodities = _commodityRepository.ListAll();

            return(View(model));
        }