Exemplo n.º 1
0
        public ICommentService GetCommentService()
        {
            CommentService commentService = new CommentService()
            {
                CommentRepository  = repositoryHandler.GetCommentRepository(),
                DocumentRepository = repositoryHandler.GetDocumentRepository(),
                UserRepository     = repositoryHandler.GetUsersRepository()
            };

            return(commentService);
        }