private static void ParseIATI()
{
//Get list of FundSource from AIMS DB
AimsDAL _AimsDAL = new AimsDAL();
var fundSources = _AimsDAL.GetFundSources();//.FindAll(q => q.IATICode == "SE-0");
int i = 1;
foreach (var fundSource in fundSources)
{
Thread th = new Thread(new ThreadStart(() =>
{
Parser p = new Parser();
p.Parse(fundSources.Count, i++, fundSource);
p = null;
}));
th.Start();
th.Join();
}
}
/// <summary>