public async Task <RemovePhotoResponse> Handle(RemovePhotoRequest request, CancellationToken cancellationToken) { var errorMessage = string.Empty; try { await _infoServiceWrapper.RemovePhoto(request.AccountId, request.ContactKey, request.ComputerName); } catch (Exception ex) { errorMessage = ex.Message; } return(await Task.FromResult(new RemovePhotoResponse { IsServiceCallSuccess = string.IsNullOrEmpty(errorMessage) ? true : false, ErrorMessage = errorMessage })); }