public async Task <IActionResult> Registrar([FromBody] PessoaRequest param) { await _service.RegistrarPessoa(param.InjectAccount(LoggedLess, nameof(param.ProprietarioId))); return(Result(new { Message = "Registrado." })); }
public async Task <IActionResult> Registrar([FromBody] PessoaRequest param) { await _service.RegistrarPessoa(param.InjectAccount(LoggedLess, nameof(param.ProprietarioId))); return(Result(new { Message = "Registrado." })); }