public GetInventoryActor(ServiceInventory inventory)
        {
            _inventory = inventory;

            this.Receive <GetInventoryCommand>(m => { this.Sender.Tell(_inventory); });
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="GetEndPoints" /> class.
 /// </summary>
 /// <param name="services">The current service inventory.</param>
 /// <param name="context">The context.</param>
 public GetEndPoints(ServiceInventory services, IHttpContextAccessor context)
 {
     _services = services;
     _context  = context;
 }