public async Task <IActionResult> PostAsync([FromBody] PersonInput input) { var resultado = await _personAppService.InsertAsync(input); return(OkOrNoContent(resultado)); }
public async Task <IActionResult> Post([FromBody] PersonInput input) { return(Created("", await _personAppService.InsertAsync(input))); }