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