// GET: Permisos/Delete/5
        public ActionResult Delete(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(System.Net.HttpStatusCode.BadRequest));
            }

            var permiso = CapaNegocio.GetPermisos(id.Value);

            return(View(permiso));
        }
        // GET: Permisos/Edit/5
        public ActionResult Edit(int id)
        {
            var permiso = CapaNegocio.GetPermisos(id);

            return(View(permiso));
        }