示例#1
0
        public ActionResult OnPostApproves([FromBody] Entity.Normalise approve)
        {
            ResponseInfo respone = null;

            if (!string.IsNullOrWhiteSpace(HttpContext.Session.GetString("UserEmail").ToString()))
            {
                respone = _transactionRepository.ApproveNormaliseRecord(approve.RefNumb, HttpContext.Session.GetString("UserEmail"));
            }

            return(new JsonResult(respone));
        }