public async Task <IActionResult> GetTechnologyNames() { var technologyNamesServiceModel = await _technologyService.GetTechnologyNamesAsync(); var responseModels = _mapper .Map <ICollection <TechnologyNameServiceModel> , ICollection <TechnologyNameResponseModel> >(technologyNamesServiceModel); if (responseModels != null) { return(Ok(responseModels)); } else { return(NotFound()); } }