Add operations page
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user