Exemplo n.º 1
0
 // GET: Category3
 public async Task <IActionResult> Index() => View(await _Category3Service.GetAllAsync());
 // GET: Product/Create
 public async Task <IActionResult> Create()
 {
     ViewData["Category3"] = new SelectList(await _Category3Service.GetAllAsync(), "ID", "Description");
     return(View());
 }