Esempio n. 1
0
 /// <summary>
 /// Initialises a new instance of the Tennis_Management_Software.Student class.
 /// </summary>
 public Student(uint id, string name, string surname, PersonGender gender,
                string phoneNumber, string homePhoneNumber, string homeAddress,
                DateTime dateOfBirth, string email, StudentSkillLevel studentLevel,
                List <StudentTimetable> studentTimetableList, string fatherWorkAddress,
                string motherWorkAddress, string fatherPhoneNumber, string motherPhoneNumber,
                uint studentTennisAssociationNum, uint healthCertificateNum)
 {
     this.ID                   = id;
     this.Name                 = name;
     this.Surname              = surname;
     this.Gender               = gender;
     this.PhoneNumber          = phoneNumber;
     this.HomePhoneNumber      = homePhoneNumber;
     this.HomeAddress          = homeAddress;
     this.DateOfBirth          = dateOfBirth;
     this.Email                = email;
     this.StudentLevel         = studentLevel;
     this.FatherName           = fatherWorkAddress;
     this.MotherName           = motherWorkAddress;
     this.FatherPhoneNumber    = fatherPhoneNumber;
     this.MotherPhoneNumber    = motherPhoneNumber;
     this.TennisAssociationNum = studentTennisAssociationNum;
     this.HealthCertificateNum = healthCertificateNum;
     TennisPlayerInfo          = new TennisPlayerInformation <StudentTimetable>(studentTimetableList);
 }
Esempio n. 2
0
        public ActionResult Book(int id, StudentSkillLevel collection)
        {
            var book = new StudentSkillLevelDAL().GetStudentSkillLevel(id);

            return(View(book));
        }