Beispiel #1
0
        public ActionResult ExcluirR(int id)
        {
            var r           = new AplicacaoR();
            var restaurante = r.ListaId(id);

            return(View(restaurante));
        }
Beispiel #2
0
        public ActionResult EditarR(int id)
        {
            var r           = new AplicacaoR();
            var restaurante = r.ListaId(id);

            if (r == null)
            {
                return(HttpNotFound());
            }
            return(View(restaurante));
        }