public static Registration Create(string learnerName, string courseTitle, string centreAddress)
        {
            var l = new Learner(learnerName);

            var c = new Course
            {
                Title = courseTitle
            };

            var centre = new Centre
            {
                    Address = centreAddress
            };

            var dt = DateTime.Now;

            var reg = new Registration(l, c, centre, dt);

            return reg;
        }
Exemple #2
0
 public Registration(Learner learner, Course course, Centre centre, DateTime dt)
 {
 }