Ejemplo n.º 1
0
        public void Put(string id, [FromBody] CirclePutRequestModel request)
        {
            var command = new CircleUpdateInputData(id, request.Name);

            bus.Handle(command);
        }
Ejemplo n.º 2
0
        public void Put(string id, [FromBody] CirclePutRequestModel request)
        {
            var command = new CircleUpdateCommand(id, request.Name);

            circleApplicationService.Update(command);
        }
Ejemplo n.º 3
0
 public async Task Put([FromRoute] string id, [FromBody] CirclePutRequestModel request)
 {
     await _mediator.Send(new CircleUpdateCommand(id, request.Name));
 }