initial add

This commit is contained in:
Jonathan Ouellette
2022-09-27 14:10:30 -07:00
parent 91fd8a50a9
commit 580e90f6a2
3941 changed files with 954648 additions and 19 deletions

View File

@ -0,0 +1,39 @@
using Fab2ApprovalSystem.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Fab2ApprovalSystem.Misc
{
public class DemoHelper
{
public static List<string> GetCountries()
{
return new List<string>
{
"USA", "England", "Belguim", "France", "Italy"
};
}
public List<TestModel> ListOfModels = new List<TestModel>();
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<string>();
A1.Countries.Add("England");
A1.Countries.Add("Belguim");
ListOfModels.Add(A1);
}
}
}