public async Task Insert([FromBody] InsertEdit.Command command) { Request.Body.Position = 0; var teste = new System.IO.StreamReader(Request.Body).ReadToEnd(); ; await _mediator.Send(command); }
public async Task Edit([FromBody] InsertEdit.Command command) { await _mediator.Send(command); }