private static List <VentaDTO> SendPage(APIMethods api, List <VentaDTO> ventaList, double pageSize, double pageTop, int page) { List <VentaDTO> ventaListPage = null; ventaListPage = ExtractPage(ventaList, pageSize, pageTop, page); var ventaListJson = new VentaDTOBatch { Ventas = ventaListPage }; api.PostVentaBatch(ventaListJson); return(ventaListPage); }