public IActionResult AddEmployee([FromBody] UserDto userDto) { var user = _mapper.Map(userDto, new User()); try { _usersService.AddEmployee(user, _appSettings); return(Ok()); } catch (AppException ex) { return(BadRequest(new { message = ex.Message })); } }