Example #1
0
        public void GetAllTest()
        {
            var hotelrepo = new AvailabilityRepository(hotelcontextmock.Object);
            var hotellist = hotelrepo.GetAll();

            Assert.IsNotNull(hotellist);
        }
Example #2
0
 public List <Availability> GetAvailabilities()
 {
     return(availabilityRepository.GetAll().ToList());
 }