public static void UpdateOrAddPerson(Rock.Client.Person person, bool isNew, int modifiedById, HttpRequest.RequestResult resultHandler) { if (isNew == true) { person.Guid = Guid.NewGuid( ); RockApi.Post_People(person, modifiedById, resultHandler); } else { RockApi.Put_People(person, modifiedById, resultHandler); } }
public static void UpdatePerson(Rock.Client.Person person, int modifiedById, HttpRequest.RequestResult resultHandler) { RockApi.Put_People(person, modifiedById, resultHandler); }