From b31a500675c5bab3d40814be001608bda4e6d103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20M=C3=B8rch?= Date: Thu, 15 Aug 2024 10:41:09 +0200 Subject: [PATCH] refactor: add missing Async suffix --- UserApp/Services/ClaimService.cs | 2 +- ViewModels/MenuViewModel.cs | 2 +- ViewModels/Services/IClaimService.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/UserApp/Services/ClaimService.cs b/UserApp/Services/ClaimService.cs index 039f83c..f1a63ab 100644 --- a/UserApp/Services/ClaimService.cs +++ b/UserApp/Services/ClaimService.cs @@ -29,7 +29,7 @@ Func messageFactoryFactory _messageFactoryFactory = messageFactoryFactory; } - public async Task ClaimAcceptedPapers() + public async Task ClaimAcceptedPapersAsync() { await using var appDbContext = _appDbContextFactory(); var submissions = await appDbContext diff --git a/ViewModels/MenuViewModel.cs b/ViewModels/MenuViewModel.cs index f2b0451..c83511c 100644 --- a/ViewModels/MenuViewModel.cs +++ b/ViewModels/MenuViewModel.cs @@ -80,7 +80,7 @@ protected override Task OnInitializeAsync(CancellationToken cancellationToken = { if (!_sessionService.IsReviewer) { - return _claimService.ClaimAcceptedPapers(); + return _claimService.ClaimAcceptedPapersAsync(); } return Task.CompletedTask; diff --git a/ViewModels/Services/IClaimService.cs b/ViewModels/Services/IClaimService.cs index e9876cd..e643124 100644 --- a/ViewModels/Services/IClaimService.cs +++ b/ViewModels/Services/IClaimService.cs @@ -2,5 +2,5 @@ namespace Apachi.ViewModels.Services; public interface IClaimService { - Task ClaimAcceptedPapers(); + Task ClaimAcceptedPapersAsync(); }