Exemplo n.º 1
0
        public async Task <IActionResult> POFineLinePoskuCreated([FromBody] MMS.PO.Events.MMSPOSkuCreatedEvent model)
        {
            _logger.LogDebug("POFineLinePoskuCreated called");
            var results = await _POFineLineService.UpsertPOFineLinePOSku(model);

            _logger.LogDebug("POFineLinePoskuCreated returned");
            return(results.ProcessUpdateAction());
        }
Exemplo n.º 2
0
        public async Task <IActionResult> POContempoPoskuCreated([FromBody] MMS.PO.Events.MMSPOSkuCreatedEvent model)
        {
            _logger.LogDebug("POContempoPoskuCreated called- {PONumber}", model.PONumber);
            var results = await _pOContempoService.UpsertPOContempoPOSku(model);

            _logger.LogDebug("POContempoPoskuCreated returned- {PONumber}", model.PONumber);
            return(results.ProcessUpdateAction());
        }