예제 #1
0
        // GET: List/Edit/5
        public async Task <ActionResult> Edit(int id)
        {
            //Grab single list
            List list = await ListsDb.GetByListId(id, _context);

            return(View());
        }
예제 #2
0
        // GET: List/Delete/5
        public async Task <IActionResult> Delete(int id)
        {
            List list = await ListsDb.GetByListId(id, _context);

            return(View(list));
        }