public ActionResult Post([FromBody] Card card) { _coreRepository.InsertCard(card); return(CreatedAtAction(nameof(Get), new { id = card.CardId }, card)); }