/// <summary> /// 전체적으로 그리고 입력받고 추가하는 역할을 한다. /// </summary> /// <param name="list"></param> public void PrintAndAdd() { PrintId(); if (id.Equals("0")) { return; } PrintPassword(); if (password.Equals("0")) { return; } PrintName(); if (name.Equals("0")) { return; } PrintResidentNum(); if (residentNum.Equals("0")) { return; } PrintPhoneNumber(); if (phoneNumber.Equals("0")) { return; } PrintAddress(); if (address.Equals("0")) { return; } Console.Clear(); memberDAO.AddMember(new Member(name, residentNum, password, id, address, phoneNumber, 0)); logDAO.AddLog(DateTime.Now, id, "회원 추가"); printAboutControlMembers.AddResult("S U C C E S S"); }