Beispiel #1
0
        public IHttpActionResult PostTerminateReplenishment(WaveCompletion wave)
        {
            try {
                PriIntegration.TerminarReplenishmentOrder(wave.IDFuncionario, wave.WaveID, wave.Lines);
            } catch (InvalidOperationException invalidOperation) {
                return(BadRequest(invalidOperation.Message));
            } catch (Exception e) {
                return(InternalServerError(e));
            }

            return(Ok());
        }