Exemplo n.º 1
0
 public Guid Post([FromBody] CoinWallet wallet)
 {
     //create wallet
     if (GuidService.GuidInstance.WalletExists(wallet.WalletId) || wallet.WalletId == Guid.Empty)
     {
         var a = _walletService.CreateNewWallet(wallet);
         return(a);
     }
     return(Guid.Empty);
 }