public ActionResult <IEnumerable <KeyResultAreaDtoForCreation> > GetPersonalKpis(int empId) { var resultFromMap = resultArea.GetPersonalkpis(empId); var mapInstance = mapper.Map <IEnumerable <KeyResultAreaForViewDto> >(resultFromMap); return(Ok(mapInstance)); }