public AdminService(IOptions <AdminServiceOptions> config, IEventRestService eventRestService, INoteRestService noteRestService,
                     ITransportRestService transportRestService, IServiceBusClient serviceBus, ILogger <AdminService> logger)
 {
     _config               = config.Value;
     _logger               = logger;
     _eventRestService     = eventRestService;
     _noteRestService      = noteRestService;
     _transportRestService = transportRestService;
     _serviceBus           = serviceBus;
 }
 public HomeController(IOptions <AdminServiceOptions> config, AdminService adminService, ILogger <HomeController> logger)
 {
     _adminService = adminService;
     _logger       = logger;
     _config       = config.Value;
 }