Esempio n. 1
0
        public HttpResponseMessage sendRequestConfirmation(DispatchEmailsRequest model)
        {
            SuccessResponse response = new SuccessResponse();
            FuelOrderRequestConfirmation fuelOrderRequestConfirmation = new FuelOrderRequestConfirmation();

            fuelOrderRequestConfirmation.SendFuelRequestConfirmation(model.fuelOrderId);
            return(Request.CreateResponse(response));
        }
Esempio n. 2
0
        public HttpResponseMessage DispatchEmails(DispatchEmailsRequest model)
        {
            SuccessResponse response = new SuccessResponse();
            FuelOrderDispatchRequestForRelease fuelOrderDispatchConfirmation = new FuelOrderDispatchRequestForRelease();

            fuelOrderDispatchConfirmation.SendFuelRequestForRelease(model.fuelOrderId);
            FuelOrderDispatchVendorRequestForRelease fuelOrderVendorDispatchConfirmation =
                new FuelOrderDispatchVendorRequestForRelease();

            fuelOrderVendorDispatchConfirmation.SendFuelRequestForRelease(model.fuelOrderId);
            return(Request.CreateResponse(response));
        }