Exemplo n.º 1
0
 static void Main(string[] args)
 {
     StudentManager manager = new StudentManager();
     manager.Delete(1);
     Console.WriteLine("Current student count : " + manager.GetStudents().Count);
     Console.ReadLine();
 }
Exemplo n.º 2
0
 public bool Post(Student student)
 {
     StudentManager manager = new StudentManager();
     manager.Add(student);
     return true;
 }
Exemplo n.º 3
0
 public List<Student> Get()
 {
     StudentManager manager = new StudentManager();
     List<Student> students = manager.GetStudents();
     return students;
 }