// UpdateFullFamily will update the family, address and attributes. // For simplicity, it's broken into 3 functions. This one, and two private ones. public static void UpdateFullFamily(Rock.Client.Group family, Rock.Client.GroupLocation address, List <KeyValuePair <string, string> > attributes, HttpRequest.RequestResult resultHandler) { // start by updating the family group ApplicationApi.UpdateFamilyGroup(family, Config.Instance.CurrentPersonAliasId, delegate(System.Net.HttpStatusCode statusCode, string statusDescription) { if (Rock.Mobile.Network.Util.StatusInSuccessRange(statusCode)) { UpdateFamilyAddress(family, address, attributes, resultHandler); } else { resultHandler(statusCode, statusDescription); } }); }