TermResultHistory.cshtml 677 B

123456789101112131415161718192021222324
  1. @*
  2. For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
  3. *@
  4. @using LotteryWebApp.Languages;
  5. @using LotteryWebApp.Controllers;
  6. @using LotteryWebApp.Common;
  7. @using LotteryWebApp.Service;
  8. @using System.Globalization;
  9. @model TermResultModel
  10. <div>
  11. @{
  12. // for (int i = 0; i < Model.listTerm.Count; i++)
  13. if (Model != null && Model.listTerm != null && Model.listTerm.Count > 0)
  14. {
  15. <div class="loto-container">
  16. @await Component.InvokeAsync("LotoNumber", new { data = Model.listTerm[0], type = Constants.GameId.Direct4D, })
  17. </div>
  18. }
  19. }
  20. </div>