Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // GET: api/Location
- [HttpGet]
- public async Task<List<Location>> GetAll()
- {
- var response = await LocDA.GetAllLocations();
- return response.ToList();
- }
- // GET: api/Location/Randomize
- [HttpGet]
- [Route("Randomize")]
- public async Task<Location> GetRandom()
- {
- var response = await LocDA.Randomize();
- return response;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement