Exemplo n.º 1
0
        public async Task Handle(Events.Suspended e, IMessageHandlerContext ctx)
        {
            var buyer = await ctx.UoW().Get <Models.OrderingBuyer>(e.UserName).ConfigureAwait(false);

            buyer.GoodStanding = false;
            await ctx.UoW().Update(e.UserName, buyer).ConfigureAwait(false);
        }
Exemplo n.º 2
0
 private void Handle(Events.Suspended e)
 {
     this.GoodStanding = false;
 }