private void AddStudentsToColleges() { StudentModel student; foreach (CollegeModel college in this._collegeVM.CollegeList) { student = new StudentModel(college, "Siddharth Mishra", "English"); student.Address = "J.L.N. Marg, Bapu Nagar, Near Birla Mandir"; student.City = "Jaipur"; student.State = "Rajasthan"; student.Country = "India"; student.ContactNumber = "371-356-8546"; this._studentVM.StudentList.Add(student); student = new StudentModel(college, "Sumit Ramola", "Arts and Drawing"); student.Address = "Grib Navaz Society"; student.City = "Bikaner"; student.State = "Rajasthan"; student.Country = "India"; student.ContactNumber = "371-356-8546"; this._studentVM.StudentList.Add(student); student = new StudentModel(college, "Sandeep Solanki", "Hindi"); student.Name = "Richa Sharma"; student.Address = "C-12/3/51, CAD Quarters, JNV Colony"; student.City = "Jodhpur"; student.State = "Rajasthan"; student.Subject = "Social Science"; student.Country = "India"; student.ContactNumber = "371-356-8546"; this._studentVM.StudentList.Add(student); student = new StudentModel(college,"Sandeep Solanki", "Hindi"); student.Name = "Sandeep "; student.Address = "XYZ 1234567878900"; student.City = "Indianapolis"; student.State = "Indiana"; student.Subject = "Hindi"; student.Country = "USA"; student.ContactNumber = "371-356-8546"; this._studentVM.StudentList.Add(student); student = new StudentModel(college,"Louis Kusic", "Quantum Physics"); student.Address = "13641, NE , 24th St."; student.City = "Bellevue"; student.State = "Washington"; student.Country = "USA"; student.ContactNumber = "371-356-8546"; this._studentVM.StudentList.Add(student); student = new StudentModel(college,"Richard Hughes", "Business Commerce"); student.Address = "P.O. 13564, Sinhgarh Road"; student.City = "Pune"; student.State = "Maharashtra"; student.Country = "India"; student.ContactNumber = "371-356-8546"; this._studentVM.StudentList.Add(student); student = new StudentModel(college,"Makarand Devalekar", "Maths"); student.Address = "J.L.N. Marg, Bapu Nagar, Near Birla Mandir"; student.City = "Jaipur"; student.State = "Rajasthan"; student.Country = "India"; student.ContactNumber = "371-356-8546"; this._studentVM.StudentList.Add(student); } }
public StudentAddedEvent(StudentModel student, object sender) : base(sender) { this.Student = student; }