예제 #1
0
        public IActionResult ActiveShelf(string id)
        {
            if (id == null)
            {
                return(NotFound());
            }
            var shelf = ctx.GetShelf(id);

            if (shelf == null)
            {
                return(NotFound());
            }
            return(PartialView("ActiveShelf", shelf));
        }