public ReleaseBatchesController(ApplicationDbContext context, IOctopusProxy octopusProxy, IOctopusReleaseService octopusReleaseService)
        {
            if (context == null) throw new ArgumentNullException(nameof(context));
            if (octopusProxy == null) throw new ArgumentNullException(nameof(octopusProxy));

            _context = context;
            _octopusProxy = octopusProxy;
            _octopusReleaseService = octopusReleaseService;
        }
Beispiel #2
0
        public ReleaseBatchesController(ApplicationDbContext context, IOctopusProxy octopusProxy, IOctopusReleaseService octopusReleaseService)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }
            if (octopusProxy == null)
            {
                throw new ArgumentNullException(nameof(octopusProxy));
            }

            _context               = context;
            _octopusProxy          = octopusProxy;
            _octopusReleaseService = octopusReleaseService;
        }