Exemple #1
0
        public void RequisitionApproval(WCFRequisitionApproval wcfReq)
        {
            Requisition req = Data.GetRequisitionById(Convert.ToInt32(wcfReq.ReqId));

            req.ApproverID = Convert.ToInt32(wcfReq.ApproverId);
            req.Status     = wcfReq.Status;
            req.Remarks    = wcfReq.Remark;

            Data.UpdateReqStatus(req);
        }
Exemple #2
0
        public static WCFRequisitionApproval Make(string reqId, string status, string approverId, string remark)
        {
            WCFRequisitionApproval req = new WCFRequisitionApproval();

            req.reqId      = reqId;
            req.status     = status;
            req.approverId = approverId;
            req.remark     = remark;

            return(req);
        }