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