public string CreateStudent(CreateStudentCommand command) { //command.CourseIds = new List<int>() { 4 }; StudentsCommandHandler handler = new StudentsCommandHandler(); return(handler.Handle(command)); }
public string DeleteStudent(DeleteStudentCommand command) { StudentsCommandHandler handler = new StudentsCommandHandler(); return(handler.Handle(command)); }