public async Task <ActionResult <EmployeesInProjectDto> > AddEmployeeToProject([FromBody] EmployeesInProjectDto addEmployeeToProject) { try { var result = await _projectManagementService.AddEmployeeToProject(addEmployeeToProject); return(Ok(result)); } catch (Exception ex) { return(BadRequest(ex.Message)); } }