Enforcing async/await in synchronous methods that were marked async.

This commit is contained in:
smcpeck 2017-02-23 11:59:37 -06:00
parent fa1540717b
commit a8288a93b0
4 changed files with 5 additions and 1 deletions

View file

@ -47,6 +47,8 @@ namespace Ombi.UI.Modules
public async Task<Response> Netflix(string title)
{
await Task.Yield();
var result = NetflixApi.CheckNetflix(title);
if (!string.IsNullOrEmpty(result.Message))