예제 #1
0
        public IHttpActionResult Put(Transaction transaction)
        {
            int status = TransactionLogic.Put(transaction);

            if (status == 0)
            {
                return(BadRequest("0"));
            }
            else
            {
                return(Ok(status));
            }
        }