Add operations page

This commit is contained in:
2025-11-06 09:58:42 +09:00
parent 8c3da2553f
commit 6cf27fd5db
3 changed files with 163 additions and 0 deletions

View File

@ -41,6 +41,12 @@ namespace Hcs.WebApp.Services
select operation).ToListAsync();
}
public async Task<ICollection<Operation>> GetOperationsAsync()
{
using var context = GetNewContext();
return await context.Operations.ToListAsync();
}
public async Task<ICollection<Operation>> GetOperationsAsync(int campaignId)
{
using var context = GetNewContext();