예제 #1
0
        // GET: Floor/Details/
        public IActionResult Details(long?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            Floor floor = service.FindById(id.Value);

            if (floor == null)
            {
                return(NotFound());
            }

            return(View(floor));
        }