| 1234567891011121314151617181920212223242526272829303132 |
- @*
- For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
- *@
- @using LotteryWebApp.Common;
- @using System.Globalization;
- @using LotteryWebApp.Languages;
- @model TermResultModel
- <div>
- @{
- // for (int i = 0; i < Model.listTerm.Count; i++)
- if (Model != null && Model.listTerm != null && Model.listTerm.Count > 0)
- {
- string drawnDate = DateTime.ParseExact(Model.listTerm[0].date_random, "dd/MM/yyyy HH:mm:ss", CultureInfo.InvariantCulture).ToString("dd/MM/yyyy");
- <div class="loto-container">
- <div class="row py-2">
- <div class="col-6 text-left ">
- <span class="loto-game">@Lang.Singapore4DResult</span>
- </div>
- <div class="col-6 text-right ">
- <div class="draw-date"><img src="~/img/money_bag.png" /> @drawnDate</div>
- </div>
- </div>
- @await Component.InvokeAsync("LotoNumber", new { data = Model.listTerm[0], type = Constants.GameId.Direct4D, })
- </div>
- }
- }
- </div>
|