Implement result getter
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
using Hcs.Broker;
|
||||
using Hcs.WebApp.Data.Hcs;
|
||||
|
||||
namespace Hcs.WebApp.BackgroundServices.ResultGetters
|
||||
{
|
||||
public abstract class ResultGetterBase(IClient client, IServiceScope scope, Operation operation) : IResultGetter
|
||||
{
|
||||
protected readonly IClient client = client;
|
||||
protected readonly IServiceScope scope = scope;
|
||||
protected readonly Operation operation = operation;
|
||||
|
||||
public abstract Task<ResultGetterResponse> GetAsync();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user