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(); }