Beispiel #1
0
 public ActionResult Post([FromBody] Account account)
 {
     _coreRepository.InsertAccount(account);
     return(CreatedAtAction(nameof(Get), new { id = account.AccountId }, account));
 }