Exemplo n.º 1
0
        public IActionResult GetRequisitionByCode(string requisitionCode)
        {
            PurchaseRequisition purchaseRequisitions = new PurchaseRequisition();

            purchaseRequisitions = _purchaseRequsitionRepository.GetRequisitionByCode(requisitionCode);
            return(Ok(new
            {
                purchaseRequisitions
            }));
        }
Exemplo n.º 2
0
        public IActionResult GetRFProcessingByCode(string rFProcessCode)
        {
            RFProcessing objRFPProcessing = new RFProcessing();

            objRFPProcessing = _rfpprocessingrepository.GetRFProcessingByCode(rFProcessCode);
            PurchaseRequisition purchaseRequisitions = new PurchaseRequisition();

            purchaseRequisitions = _purchaseRequsitionRepository.GetRequisitionByCode(objRFPProcessing.RequisitionCode_FK);

            return(Ok(new
            {
                objRFPProcessing,
                purchaseRequisitions
            }));
        }