From b35e9070834a1ad6dfd68bb9a463e11badf5ad71 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 21 Feb 2019 18:23:34 +0000 Subject: Changed return to Task --- Main/Jobs/AggregatorJob.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Main') diff --git a/Main/Jobs/AggregatorJob.cs b/Main/Jobs/AggregatorJob.cs index dc7c354..eec9aff 100644 --- a/Main/Jobs/AggregatorJob.cs +++ b/Main/Jobs/AggregatorJob.cs @@ -1,3 +1,4 @@ +using System.Linq; using System.Threading.Tasks; using System.Collections.Generic; @@ -40,7 +41,7 @@ namespace Main.Jobs { "https://abcnews.go.com/abcnews/topstories" }; - public static async void Process(DatabaseContext context) { + public static async Task Process(DatabaseContext context) { var articles = await parseMultiple(); await context.InsertArticles(articles); } -- cgit v1.2.3-13-gbd6f