示例#1
0
        // GET: Restaurant/Details/5
        public ActionResult Details(int id)
        {
            var bl = new Dubuche.BL.RestaurantCRUD();
            var x  = bl.GetRestaurantById(id);

            return(View(x));
        }
示例#2
0
        // GET: Restaurant/Delete/5
        public ActionResult Delete(int id)
        {
            var bl = new Dubuche.BL.RestaurantCRUD();

            //bl.DeleteRestaurantById(id);
            return(View(bl.GetRestaurantById(id)));
        }