private void printResponseHeader(HeaderVialDto header) { Console.WriteLine("pag - " + numPage + "\n"); ConsoleTable.PrintLine(); ConsoleTable.PrintRow(header.N_sheet, header.Object_type, header.Id_section, header.Path_type, header.Lenght); ConsoleTable.PrintLine(); }
public void execute(OutputVialDto output) { HeaderVialDto header = (HeaderVialDto)output.AdditionalInformation[ApplicationConstants.DtoKey.HEADER]; List <VialDto> listResponse = (List <VialDto>)output.getResponse(); Console.Clear(); printResponseStatus(output); numPage++; printResponseHeader(header); printResponseRows(output); evaluateToContinue(); }