public async Task <IActionResult> Update([FromBody] UpdateClientCommandRequest request, [FromRoute] Guid id) { request.Id = id; var response = await _mediator.Send(request); return(Ok(response)); }
public async Task <IActionResult> Update([FromBody] UpdateClientCommandRequest request) { var response = await _mediator.Send(request); return(Ok(response)); }
public async Task <IActionResult> Put([FromBody] UpdateClientCommandRequest updateClientCommand) { var response = await _mediator.Send(updateClientCommand); return(CustomResponse.GetResponse(response)); }