public void PreviousGoAgreement(int id) { var o = r.Get(id); var p = r.GetPrevious(o); if (p != null) { GoAgreement(p.Id); } }