public ActionResult <List <Phonebook> > Get()
 {
     return(_phonebookService.GetPhonebooks());
 }
Beispiel #2
0
        public void GetPhonebooks_GivenNoparameter_ShouldReturnPhonebooks()
        {
            var result = _PhonebookService.GetPhonebooks();

            Assert.Greater(1, result.Count);
        }