Пример #1
0
        public void CheckList()
        {
            var  list        = _service.Get();
            bool isEmptyList = IsEmpty(list);

            if (IsItemCreated)
            {
                Assert.IsFalse(isEmptyList);
            }
            else
            {
                Assert.IsTrue(isEmptyList);
            }

            Assert.AreEqual(this.UrlLinksCount, list.Count);
        }
Пример #2
0
 public IActionResult Get()
 {
     return(Ok(_service.Get()));
 }