From 7ae452b5edf226e02de077b0181bd50723124fbb Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Mon, 9 Dec 2024 10:21:13 +0200 Subject: Minor fixes. --- Software/Visual_Studio/Tango.BL/Entities/Configuration.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Software/Visual_Studio/Tango.BL') diff --git a/Software/Visual_Studio/Tango.BL/Entities/Configuration.cs b/Software/Visual_Studio/Tango.BL/Entities/Configuration.cs index 1c9b795fa..2e1ceba67 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/Configuration.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/Configuration.cs @@ -24,6 +24,14 @@ namespace Tango.BL.Entities get { return IdsPacks.Where(x => !x.IsEmpty); } } + [NotMapped] + [XmlIgnore] + [JsonIgnore] + public List IdsPacksOrderedByPackIndex + { + get { return IdsPacks.OrderBy(x => x.PackIndex).ToList(); } + } + /// /// Gets a collection of this configuration IDS packs where packs are not 'empty' and are supported by the specified . /// -- cgit v1.3.1