public static Task publishToReadModel(ResolvedEvent eS_Event)
        {
            EventFromES normal = NormalizeESEvent(eS_Event);

            EventDistributor.Publish(normal);
            return(Task.FromResult(0));
        }
        private static void distrbuteSavedEvents(List <ResolvedEvent> nonStatEvents)
        {
            List <object> aslk = new List <object>();

            foreach (var savedEvent in nonStatEvents)
            {
                string StringyfiedBytes = System.Text.Encoding.UTF8.GetString(savedEvent.Event.Data);
                try
                {
                    var eventFromEs = NormalizeESEvent(savedEvent);
                    EventDistributor.Publish(eventFromEs);
                }
                catch (Exception e)
                {
                    Console.Write(e);
                }
            }
        }