public async Task <ActionResult <GetEmployeeForViewDto> > PutEmployeeInfo(int id, GetEmployeeForEditOutput editOutput) { if (_employeeInfoRepository.IsEmployeeExists(id) == null) { return(BadRequest()); } var empInfo = await _employeeInfoRepository.PutEmployeeInfo(id, editOutput); return(empInfo); }