コード例 #1
0
        public async Task <IActionResult> Movements(int id)
        {
            SelectMovementAndAreaViewModel vm = new SelectMovementAndAreaViewModel();

            //IEnumerable<Movement> areaForMovementList = await _movementService.GetAllMovementAsync();
            vm.allMovements = await _movementService.GetAllMovementAsync();

            vm.areaId = id;
            return(View(vm));
        }
コード例 #2
0
 public async Task <IActionResult> Index()
 {
     return(View(await _movementService.GetAllMovementAsync()));
 }