예제 #1
0
 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);
     }
 }
예제 #2
0
 public static void UpdatePerson(Rock.Client.Person person, int modifiedById, HttpRequest.RequestResult resultHandler)
 {
     RockApi.Put_People(person, modifiedById, resultHandler);
 }