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