public IActionResult CreateCryprocurrency(CryptocurrencyWallet cryptocurrencyWallet) { if (_cryptocurrencyWalletService.CreateCryptoCurrencyWallet(cryptocurrencyWallet)) { return(Created(string.Empty, cryptocurrencyWallet)); } return(BadRequest()); }
public bool SaveCryptocurrencyWallet(CryptocurrencyWallet cryptocurrencyWallet) { return(_cryptocurrencyWalletRepository.Create(cryptocurrencyWallet)); }