コード例 #1
0
 public async Task <ActionResult <Unit> > Edit(Guid id, ActivityEdit.Command request)
 {
     request.Id = id;
     return(await Mediator.Send(request));
 }
コード例 #2
0
 public async Task <ActionResult <Unit> > Edit(Guid id, ActivityEdit.Command command)
 {
     command.Id = id;
     return(await _mediator.Send(command));
 }