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