Esempio n. 1
0
        public IActionResult Delete(TransactionDeleteModel transactionDeleteModel)
        {
            var result = _transactionDataAccess.DeleteAsync(transactionDeleteModel.Id).Result;

            if (result == null)
            {
                return(BadRequest("Wallet silinemedi!"));
            }

            return(Ok(new { result }));
        }