public async Task <ActionResult <float> > percentualDeUsoElevadorD()
        {
            try
            {
                var result = await _elevadorService.percentualDeUsoElevadorD();

                return(Ok(result));
            }
            catch
            {
                return(StatusCode(500, "Internal server error"));
            }
        }
Пример #2
0
 public float PercentualDeUsoElevadorD()
 {
     return(fServico.percentualDeUsoElevadorD());
 }