コード例 #1
0
        public ActionResult ConfirmSendToLogistics(int requisitionid)
        {
            var requisition = _reliefRequisitionService.FindById(requisitionid);

            requisition.Status = (int)ReliefRequisitionStatus.Approved;
            _reliefRequisitionService.EditReliefRequisition(requisition);
            //send notification
            SendNotification(requisition);
            _transactionService.PostRequestAllocation(requisitionid);
            return(RedirectToAction("Index", "ReliefRequisition"));
        }