Beispiel #1
0
        public async Task CommentsDownload()
        {
            var comments = await CommentsService.DownloadCommentsAsync();

            if (comments != null && comments.Count > 0)
            {
                await commentsRep.DeleteAllAsync();

                await commentsRep.InsertAllAsync(comments);
            }
        }