예제 #1
0
        public void GetAllLocationsShouldReturnAllLocation()
        {
            using (var context = new Entity.p0storeContext(options)){
                LocationDB _locationDB = new LocationDB(context);
                var        customers   = _locationDB.GetAllLocations();
                int        count       = customers.Count;

                Assert.Equal(1, count);
            }
        }
예제 #2
0
 public List <Location> GetAllLocations()
 {
     return(_locationDB.GetAllLocations());
 }