Fix scope mishandling
This commit is contained in:
@ -6,12 +6,12 @@ namespace Hcs.WebApp.BackgroundServices.CampaignManagers
|
||||
{
|
||||
protected readonly OperationExecutionState state = state;
|
||||
|
||||
public IManager CreateManager(IServiceScope scope, Campaign campaign)
|
||||
public IManager CreateManager(Campaign campaign)
|
||||
{
|
||||
switch (campaign.Type)
|
||||
{
|
||||
case Campaign.CampaignType.ExportCommonRegistryElements_15_7_0_1:
|
||||
return new ExportCommonRegistryElementsManager_15_7_0_1(scope, state, campaign);
|
||||
return new ExportCommonRegistryElementsManager_15_7_0_1(state, campaign);
|
||||
}
|
||||
|
||||
throw new NotImplementedException();
|
||||
|
||||
Reference in New Issue
Block a user