Beispiel #1
0
        public async Task <NoContentResult> SetTag(string name, [FromBody] SetTagDto setTagDto)
        {
            var command = SetTagCommand.Create(name, setTagDto);
            await _mediator.Send(command);

            return(NoContent());
        }
Beispiel #2
0
 public Task SetTags(SetTagArgs args)
 {
     if (args.IsBadLocateArgs(ClientSpanLocateMode.ForCurrent))
     {
         return(Task.FromResult(0));
     }
     return(_commandQueue.Enqueue(SetTagCommand.Create(args)));
 }