public async Task <ActionResult <GetEmployeeForViewDto> > GetEmployeeInfo(int id) { var employeeInfo = await _employeeInfoRepository.GetEmployeeInfo(id); if (employeeInfo == null) { return(NotFound()); } return(employeeInfo); }