//Get api/wallettransaction public IHttpActionResult GetWalletTransactions() { WalletTransactionService walletTransactionService = CreateWalletTransactionService(); var transactions = walletTransactionService.GetWalletTransactions(); return(Ok(transactions)); }