Example #1
0
        public void PersonTests_ReturnAllPeople()
        {
            //Arrange

            //Act
            var returnedRecord = _service.GetAllPeople();

            //Assert
            Assert.IsTrue(_context.Person.Count() == 3);
        }
Example #2
0
 public ResponseModel <List <PersonsModel> > GetAllPeople()
 {
     _logger.Debug($"GetAllPeople controller call");
     return(_personService.GetAllPeople());
 }