public IHttpActionResult BuyCard() { try { var cardManager = new CardManager(); var card = cardManager.BuyCard(); return(Ok(card)); } catch (Exception ex) { return(ExceptionHandler(ex)); } }