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