예제 #1
0
 /// <summary>
 /// 更新個人資料
 /// </summary>
 /// <param name="person"></param>
 public void UpdatePersonInfo(PersonInfo person)
 {
     _dataStoreAccess.UpdatePersonInfo(person);
 }
예제 #2
0
 /// <summary>
 /// 建立個人資訊
 /// </summary>
 /// <param name="person"></param>
 /// <returns></returns>
 public string CreatePerson(PersonInfo person)
 {
     person.userId = _dataStoreAccess.GenerateUserId();
     return(_dataStoreAccess.CreatePersonInfo(person));
 }