Please let me know, ever so gently, if I am totally mangling the DDD concept, but here is my dilemma.
Let\'s say I have the following domain model:
Teach
What Vijay is saying is to add a TeacherService with an AddStudent method
interface ITeacherService
{
Teacher GetTeacher (name teacher);
void AddStudent (Teacher teacher, Student student);
}
So then you would end up with something like the following:
Student student = new Student ("Bobby Drop Tables;");
Teacher teacher = teacherService.GetTeacher ("Bob");
teacherService.AddStudent (teacher, student);