@* For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 *@ @using LotteryWebApp.Languages; @using LotteryWebApp.Controllers; @using LotteryWebApp.Common; @using LotteryWebApp.Service; @model TermResultHistoryModel @{ for (int i = 0; i < Model.listTerm.Count; i++) { Term term = Model.listTerm[i]; string[] data_one = term.numberGame.Split(term.split); string[] data_two = term.win4Game.Split(term.split); string[] bolet = term.bolet.Split(term.split); string[] mayraj = term.mariaj.Split(term.split); string[] lotto3 = term.lotto3.Split(term.split);
@{ if (Model.termType != Constants.BOULCHANS_CODE) { if (term.isEvening == Constants.AFTERNOON_CODE) { } else { } } }
@term.date_random
@{ 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 { @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,}) } }

} }