Exemplo n.º 1
0
        public JsonResult agregarPerfiles(Perfiles perfil)
        {
            var seguridad = new PerfilManager();

            return(Json(new
            {
                Success = "OK",
                Result = seguridad.agregarPerfil(
                    perfil,
                    (long)HttpContext.Session["IdSesion"]
                    )
            }));
        }