Example #1
0
        public SandboxPhaseService(SepesDbContext db, IMapper mapper, ILogger <SandboxPhaseService> logger,
                                   IUserService userService,
                                   IStudyPermissionService studyPermissionService,
                                   ISandboxModelService sandboxModelService,
                                   ISandboxDatasetModelService sandboxDatasetModelService,
                                   ICloudResourceOperationReadService sandboxResourceOperationService,
                                   IVirtualMachineRuleService virtualMachineRuleService,
                                   IAzureVirtualNetworkService azureVNetService,
                                   IAzureStorageAccountNetworkRuleService azureStorageAccountNetworkRuleService,
                                   IAzureNetworkSecurityGroupRuleService nsgRuleService)
            : base(mapper, logger, userService, studyPermissionService, sandboxModelService)
        {
            _db = db;

            _sandboxDatasetModelService        = sandboxDatasetModelService;
            _cloudResourceOperationReadService = sandboxResourceOperationService;
            _virtualMachineRuleService         = virtualMachineRuleService;

            _azureVirtualNetworkService            = azureVNetService;
            _azureStorageAccountNetworkRuleService = azureStorageAccountNetworkRuleService;
            _azureNetworkSecurityGroupRuleService  = nsgRuleService;
        }
 public VirtualMachineRuleController(IVirtualMachineRuleService vmService)
 {
     _service = vmService;
 }