@{
if (Model.termType == Constants.BOULCHANS_CODE)
{
string[] boulchains = new string[] { };
var myList = new List();
myList.Add(term.result);
var myArray = myList.ToArray();
boulchains = myList.ToArray();
@await Component.InvokeAsync("LotoNumberHistory", new {data= boulchains, term = term, type = Constants.BOULCHANS_CODE,})
}
else if (Model.termType == Constants.NEW_YORK_BOLET_CODE)
{
@await Component.InvokeAsync("LotoNumberHistory", new {data= data_one, type = Constants.NEW_YORK_NUMBERS_CODE,})
@await Component.InvokeAsync("LotoNumberHistory", new {data= data_two, type = Constants.NEW_YORK_WIN4_CODE,})
@await Component.InvokeAsync("LotoNumberHistory", new {data= bolet, type = Constants.NEW_YORK_BOLET_CODE,})
@await Component.InvokeAsync("LotoNumberHistory", new {data= mayraj, type = Constants.NEW_YORK_MAYRAJ_CODE,})
@await Component.InvokeAsync("LotoNumberHistory", new {data= lotto3, type = Constants.NEW_YORK_LOTTO3_CODE,})
}
else if (Model.termType == Constants.GEORGIA_BOLET_CODE)
{
@await Component.InvokeAsync("LotoNumberHistory", new { data = data_one, type = Constants.GEORGIA_CASH3_CODE, })
@await Component.InvokeAsync("LotoNumberHistory", new { data = data_two, type = Constants.GEORGIA_CASH4_CODE, })
@await Component.InvokeAsync("LotoNumberHistory", new { data = bolet, type = Constants.NEW_YORK_BOLET_CODE, })
@await Component.InvokeAsync("LotoNumberHistory", new { data = mayraj, type = Constants.NEW_YORK_MAYRAJ_CODE, })
@await Component.InvokeAsync("LotoNumberHistory", new { data = lotto3, type = Constants.NEW_YORK_LOTTO3_CODE, })
}
else if (Model.termType == Constants.TEXAS_BOLET_CODE)
{
@await Component.InvokeAsync("LotoNumberHistory", new { data = data_one, type = Constants.TEXAS_PICK3_CODE, })
@await Component.InvokeAsync("LotoNumberHistory", new { data = data_two, type = Constants.TEXAS_DAILY4_CODE, })
@await Component.InvokeAsync("LotoNumberHistory", new { data = bolet, type = Constants.NEW_YORK_BOLET_CODE, })
@await Component.InvokeAsync("LotoNumberHistory", new { data = mayraj, type = Constants.NEW_YORK_MAYRAJ_CODE, })
@await Component.InvokeAsync("LotoNumberHistory", new { data = lotto3, type = Constants.NEW_YORK_LOTTO3_CODE, })
}
else if (Model.termType == Constants.TENNESSEE_BOLET_CODE)
{
@await Component.InvokeAsync("LotoNumberHistory", new { data = data_one, type = Constants.TENNESSEE_CASH3_CODE, })
@await Component.InvokeAsync("LotoNumberHistory", new { data = data_two, type = Constants.TENNESSEE_CASH4_CODE, })
@await Component.InvokeAsync("LotoNumberHistory", new { data = bolet, type = Constants.NEW_YORK_BOLET_CODE, })
@await Component.InvokeAsync("LotoNumberHistory", new { data = mayraj, type = Constants.NEW_YORK_MAYRAJ_CODE, })
@await Component.InvokeAsync("LotoNumberHistory", new { data = lotto3, type = Constants.NEW_YORK_LOTTO3_CODE, })
}
else
{
@await Component.InvokeAsync("LotoNumberHistory", new {data= data_one, type = Constants.FLORIDA_PICK3_CODE,})
@await Component.InvokeAsync("LotoNumberHistory", new {data= data_two, type = Constants.FLORIDA_PICK4_CODE,})
@await Component.InvokeAsync("LotoNumberHistory", new {data= bolet, type = Constants.FLORIDA_BOLET_CODE,})
@await Component.InvokeAsync("LotoNumberHistory", new {data= mayraj, type = Constants.FLORIDA_MAYRAJ_CODE,})
@await Component.InvokeAsync("LotoNumberHistory", new {data= lotto3, type = Constants.FLORIDA_LOTTO3_CODE,})
}
}