Created
February 13, 2017 19:03
-
-
Save bcnzer/617fd48e0de118a75bbfc86e69703a2c to your computer and use it in GitHub Desktop.
List of storage locations based on isHardcover
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class StorageLocation | |
{ | |
public bool IsHardcover { get; set; } | |
public string LocationName { get; set; } | |
} | |
// My static storage data, for the purposes of this demo | |
private readonly List<StorageLocation> _locations = new List<StorageLocation>() | |
{ | |
new StorageLocation() { IsHardcover = true, LocationName = "General Circulation" }, | |
new StorageLocation() { IsHardcover = true, LocationName = "Backroom" }, | |
new StorageLocation() { IsHardcover = true, LocationName = "Offsite" }, | |
new StorageLocation() { IsHardcover = false, LocationName = "General Circulation" }, | |
new StorageLocation() { IsHardcover = false, LocationName = "Backroom" } | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment