Exemplo n.º 1
0
 public ActionResult Post([FromBody] Transaction transaction)
 {
     _coreRepository.InsertTransaction(transaction);
     return(CreatedAtAction(nameof(Get), new { id = transaction.AccountId }, transaction));
 }