[Route("api/Cards/{count}")] //URL to run .... append after localhost = /api/cards/TopCard (Ex. http://localhost:59471/api/cards/5 ) public IEnumerable <Card> GetCards(int count) { return(crdManager.GetCards(count)); }
[Route("api/Cards/{count}")] //URL to run .... append after localhost = /api/cards/TopCard (Ex. http://localhost:59471/api/cards/5 ) public IEnumerable <Card> GetCards(int count) { return(crdManager.GetCards(count)); }