Exemplo n.º 1
0
        public async Task <IActionResult> POIs()
        {
            var modal = new POIsView();

            modal.Types = await _mappingService.GetPOITypesForDepartmentAsync(DepartmentId);

            return(View(modal));
        }
Exemplo n.º 2
0
        public IActionResult POIs()
        {
            var modal = new POIsView();

            modal.Types = _mappingService.GetPOITypesForDepartment(DepartmentId);

            return(View(modal));
        }