public async Task <IActionResult> ObterPorId(DateTime dataInicio, DateTime dataFim)
 {
     try
     {
         return(Ok(_repositorio.ObterVendasPorPeriodo(dataInicio, dataFim)));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }