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