public static bool CreatePerson(string firstName, string lastName, string enrollmentDate, string hireDate = null, string discriminator = "Student") { PersonManager pm = new PersonManager(); return pm.CreatePerson(firstName, lastName, null, enrollmentDate, hireDate, discriminator); }
public static bool CreatePerson2(string firstName, string lastName, string hireDate, string officeLocation, string enrollmentDate = null, string discriminator = "Instructor") { PersonManager pm = new PersonManager(); return pm.CreatePerson(firstName, lastName, officeLocation, enrollmentDate, hireDate, discriminator); }
// FROM HERE THE PRACTICE public static Person GetPerson(string firstName,string lastName) { PersonManager pm = new PersonManager(); return pm.GetPerson(firstName, lastName); }
public static bool DeletePerson(string firstName, string lastName) { PersonManager pm = new PersonManager(); return pm.DeletePerson(firstName, lastName); }