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

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

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

            modal.Types = _mappingService.GetPOITypesForDepartment(DepartmentId);

            return(View(modal));
        }