Сервис для работы с комментариями к задачам.
Esempio n. 1
0
 public void CommentService_Void_Success()
 {
     var s = new CommentService();
 }
Esempio n. 2
0
 public CommentController()
 {
     _commentService = new CommentService();
 }
Esempio n. 3
0
        public void SetUp()
        {
            _commentRepository = Mock.Of<ICommentRepository>();
            _commentService = new CommentService(_commentRepository);

            _comment = new CommentItem()
            {
                Id = 1,
                AddDate = DateTime.Now.AddYears(-1).Date,
                PersonId = 1,
                Text = "Тестовая задача номер 1",
                TaskId = 2
            };
        }