Exemplo n.º 1
0
        public virtual Task <Unit> Handle(TRequest request, CancellationToken cancellationToken)
        {
            // TODO: maybe extract this logic out somewhere so that you can use it without using a request
            if (request.Options.Print)
            {
                _entityLogger.LogEntity(request.Entity);
            }

            return(Unit.Task);
        }