//problema: no redirecciona a la tabla con las experiencias. PROBAR sin el self.
        //public JsonResult Delete(int id)
        //{
        //    var rm = experiencia.Delete(id);

        //    if (rm.response)
        //    {
        //        rm.href = "self";
        //    }

        //    return Json(rm, JsonRequestBehavior.AllowGet);
        //}

        public ActionResult Delete(byte tipo = 0, int id = 0)
        {
            experiencia.Delete(id, tipo);

            return(Redirect("~/admin/experiencia?tipo=" + tipo));
        }