public Enterprise ShowEnterpriseByID(int entrepriseId) { return(ioasysApiAdapter.ShowEnterpriseByID(entrepriseId)); }
public IActionResult ShowEnterpriseByID([FromServices] IIoasysApiAdapter ioasysApiAdapter, int entrepriseId) { logger.LogInformation("Obtendo Empreedimentos para o id {entrepriseId}", entrepriseId); return(Ok(ioasysApiAdapter.ShowEnterpriseByID(entrepriseId))); }