Exemplo n.º 1
0
            public override Task LoadOrCreateState(ISaga <PizzaFulfillmentStatus, Guid> saga, Guid sagaId)
            {
                PizzaFulfillmentStatus state = null;

                state = state ?? new PizzaFulfillmentStatus(sagaId);
                saga.SetState(state);
                return(Task.CompletedTask);
            }