public async Task <IEnumerable <CatalogModel> > Get() { var message = new CatalogUpdated() { Items = catalogManager.GetAllItems() }; await endpoint.Publish(message) .ConfigureAwait(false); return(catalogManager.GetAllStock()); }