public void CreateTest() { Student student = new Student("Create1", "Create1", new DateTime(2001, 01, 01)); manager.Create(student); List <Student> students = manager.Read(); int idToCheck = students.Last().Id; Student testStudent = manager.SelectStudentById(idToCheck); Assert.IsNotNull(testStudent); }
public Student Read(string key) { return(studentDao.Read(key)); }
public T Read <T>(string key) { return(stDao.Read <T>(key)); }