Exemple #1
0
        public async Task <Response> ExecuteAsync(Command request, CancellationToken cancellationToken = default)
        {
            await Task.CompletedTask;

            return(new Response
            {
                Id = Guid.NewGuid(),
                Origin = request,
                Value = RepeatableValueGenerationMethods.StringToStringOperation(request.Value)
            });
        }
        public async Task <string> ExecuteAsync(string request, CancellationToken cancellationToken = default)
        {
            await Task.CompletedTask;

            return(RepeatableValueGenerationMethods.StringToStringOperation(request));
        }