diff options
author | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-21 18:23:34 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-21 18:23:34 +0000 |
commit | b35e9070834a1ad6dfd68bb9a463e11badf5ad71 (patch) | |
tree | dda8f4f83c961ef9353c59f2414ff227817eb45b /Main/Jobs | |
parent | cb849fe4aeef9d1e9bc41969d1c96c47ebcbc84d (diff) | |
download | newsaggregator-b35e9070834a1ad6dfd68bb9a463e11badf5ad71.tar.gz newsaggregator-b35e9070834a1ad6dfd68bb9a463e11badf5ad71.tar.bz2 newsaggregator-b35e9070834a1ad6dfd68bb9a463e11badf5ad71.zip |
Changed return to Task
Diffstat (limited to 'Main/Jobs')
-rw-r--r-- | Main/Jobs/AggregatorJob.cs | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |