Ejemplo n.º 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));
        }
Ejemplo n.º 2
0
 public async Task <IActionResult> Index()
 {
     return(View(await _movementService.GetAllMovementAsync()));
 }