public async Task <GetAllSessionsForSSResponse> Handle(GetAllSessionsForSSRequest request, CancellationToken cancellationToken) { var errorMessage = string.Empty; try { var response = await _infoServiceWrapper.GetAllSessionsForSS(request.AccountId); } catch (Exception ex) { errorMessage = ex.Message; } return(await Task.FromResult(new GetAllSessionsForSSResponse { Success = string.IsNullOrEmpty(errorMessage) ? true : false, ErrorMessage = errorMessage })); }