[Route("api/Cards/CardExists/{num}/{type}")] //URL to run .... append after localhost = /api/cards/TopCard (Ex. http://localhost:59471/api/cards/cardexists/2/spade ) public bool CheckCardExists(int num, string type) { CardType cardType; Enum.TryParse("Active", out cardType); return(crdManager.CheckCardExists(num, cardType)); }