public async Task Handle(Commands.Logout command, IMessageHandlerContext ctx)
        {
            var user = await _uow.For <User>().Get(command.CurrentUserId);

            user.Logout();
        }
Exemple #2
0
        public void Handle(Commands.Logout command)
        {
            var user = _uow.R <User>().Get(command.UserId);

            user.Logout();
        }