public CardDTO CreateCard(CardDTO card) { var result = db_.CreateCard(card); if (result != null) { return(result); } else { throw new Exception(); } }