void GetCampuses(OnComplete onComplete) { // get the campuses RockApi.Get_Campuses("?$expand=Location", delegate(System.Net.HttpStatusCode statusCode, string statusDescription, List <Rock.Client.Campus> model) { if (Rock.Mobile.Network.Util.StatusInSuccessRange(statusCode) == true) { TempCampuses = model; GetMaritalValues(onComplete); } // Campuses failed else { onComplete(false); } }); }