static void Main(string[] args) { var s = new Student(); s.Firstname = "Patricia"; s.Lastname="lkkdklsm"; var studentPresentation = IoC.Resolve<IStudentPresentation>(); studentPresentation.Save(s); studentPresentation.ShowAllStudents(); Console.ReadLine(); }
public void Save(Student student) { _studentRepository.Save(student); }