public async Task <IActionResult> AuthenticateAsync(LoginUserDto loginDto, CancellationToken token) { var remoteAddress = _httpService.GetRemoteIpAddress(Request.HttpContext.Connection.RemoteIpAddress); var response = await _mediator.Send(new LoginUserRequest(loginDto, remoteAddress), token); return(new LoginUserPresenter(response).ToIActionResult()); }