예제 #1
0
        public IActionResult CreateCryprocurrency(CryptocurrencyWallet cryptocurrencyWallet)
        {
            if (_cryptocurrencyWalletService.CreateCryptoCurrencyWallet(cryptocurrencyWallet))
            {
                return(Created(string.Empty, cryptocurrencyWallet));
            }

            return(BadRequest());
        }
예제 #2
0
 public bool SaveCryptocurrencyWallet(CryptocurrencyWallet cryptocurrencyWallet)
 {
     return(_cryptocurrencyWalletRepository.Create(cryptocurrencyWallet));
 }