public async Task <ActionResult <float> > percentualDeUsoElevadorC() { try { var result = await _elevadorService.percentualDeUsoElevadorC(); return(Ok(result)); } catch { return(StatusCode(500, "Internal server error")); } }
public float PercentualDeUsoElevadorC() { return(fServico.percentualDeUsoElevadorC()); }