public void Handle(AddNewCommentCommand command) { //Lesson lesson = repo.GetById<Lesson>(command.Id, command.Version); Lesson lesson = repo.GetById <Lesson>(command.Id); lesson.AddNewComment(command.CommentId, command.AuthorId, command.Content, command.Date, command.ParentId, command.Level); repo.Save(lesson, Guid.NewGuid()); }