Exemplo n.º 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);
            }
        }
Exemplo n.º 2
0
 public List <Location> GetAllLocations()
 {
     return(_locationDB.GetAllLocations());
 }