removed some unnecessary 'ConfigureAwait` uses

pull/1178/head
smcpeck 8 years ago
parent 65b69e3cad
commit c96ec2ef9d

@ -231,13 +231,13 @@ namespace Ombi.UI.Modules
private async Task<Response> SearchPerson(string searchTerm) private async Task<Response> SearchPerson(string searchTerm)
{ {
var movies = TransformMovieListToMovieResultList(await MovieApi.SearchPerson(searchTerm).ConfigureAwait(false)); var movies = TransformMovieListToMovieResultList(await MovieApi.SearchPerson(searchTerm));
return await TransformMovieResultsToResponse(movies); return await TransformMovieResultsToResponse(movies);
} }
private async Task<Response> SearchPerson(string searchTerm, bool filterExisting) private async Task<Response> SearchPerson(string searchTerm, bool filterExisting)
{ {
var movies = TransformMovieListToMovieResultList(await MovieApi.SearchPerson(searchTerm, AlreadyAvailable).ConfigureAwait(false)); var movies = TransformMovieListToMovieResultList(await MovieApi.SearchPerson(searchTerm, AlreadyAvailable));
return await TransformMovieResultsToResponse(movies); return await TransformMovieResultsToResponse(movies);
} }

Loading…
Cancel
Save