Created
February 13, 2017 19:06
-
-
Save bcnzer/6631631ac9281ac455d89f92e867a16b to your computer and use it in GitHub Desktop.
Simple method to get a list of storage locations
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
[HttpPost] | |
[ValidateAntiForgeryToken] | |
public IActionResult StorageLocations(bool isHardcover) | |
{ | |
var locations = _locations.Where(x => x.IsHardcover).ToList(); | |
return Json(locations); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment