public CommentService( ICommentRepository repository, ICommentFactory factory, IUserContext userContext) { repository.CheckArgumentIsNull(nameof(repository)); _repository = repository; factory.CheckArgumentIsNull(nameof(factory)); _factory = factory; userContext.CheckArgumentIsNull(nameof(userContext)); _userContext = userContext; }