コード例 #1
0
        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);
        }
コード例 #2
0
 public async Task Edit([FromBody] InsertEdit.Command command)
 {
     await _mediator.Send(command);
 }