Exemplo n.º 1
0
 private void WriteMemberPercistanceData(string username, long personalNumber)
 {
     // todo: return cast error message if user already exist
     models.XmlHandler xmlHandler = new models.XmlHandler();
     xmlHandler.DeSerialize();
     models.Member newMember = new models.Member(username, personalNumber);
     xmlHandler.AddMember(newMember);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Calls Add new member View
 /// </summary>
 private void AddNewMember()
 {
     models.Member newMember = _mainView.AddMember();
     _xmlHandler.AddMember(newMember);
 }