public async Task <ActionResult <ResponseDto <LoginDto> > > Login(LoginRequestDto request) { var result = await _userCommand.Login(request); var IsAuthenticated = HttpContext.User.Identity.IsAuthenticated; return(!result.Successful ? NotFound(result) : (ActionResult)Ok(result)); }