using Fab2ApprovalSystem.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Fab2ApprovalSystem.Misc { public class DemoHelper { public static List GetCountries() { return new List { "USA", "England", "Belguim", "France", "Italy" }; } public List ListOfModels = new List(); private static DemoHelper m_dHelper = new DemoHelper(); public static DemoHelper Instance { get { return m_dHelper; } } private DemoHelper() { TestModel A1 = new TestModel(); A1.Name = "Eran"; A1.Countries = new List(); A1.Countries.Add("England"); A1.Countries.Add("Belguim"); ListOfModels.Add(A1); } } }