public async Task <IActionResult> Index()
        {
            ViewData["IsValid"] = await _lineNotify.IsValid();

            var product = await _context.Products.Take(3).ToListAsync();

            return(View(product));
        }
Exemple #2
0
        public async Task <IActionResult> Index()
        {
            ViewData["IsValid"] = await _lineNotify.IsValid();

            return(View());
        }