private void PrintUsersDataTable(PaginationResponse <UserDto> paginated) { var headers = new List <string>() { "#", "Nombre", "Email", "TenantId", "TenantCode", "RoleCode", "Role", "Ult. Mod" }; var data = new List <List <string> >(); foreach (var userDto in paginated.Data) { data.Add(new List <string>() { userDto.Id.ToString(), userDto.Name, userDto.Email, userDto.Tenant.Id.ToString(), userDto.Tenant.Code, userDto.Role.Code, userDto.Role.Name, userDto.UpdatedAt.ToString("dd/MM/yyyy HH:mm:ss") }); } _commandUtil.PrintTable(headers, data); var pages = "> " + paginated.CurrentPage + " [P: 1 - " + paginated.LastPage + "] [R: " + paginated.From + " - " + paginated.To + "]"; _commandUtil.PrintInfo(pages); }