예제 #1
0
        public HttpResponseMessage sendRequestConfirmation(DispatchEmailsRequest model)
        {
            SuccessResponse response = new SuccessResponse();
            FuelOrderRequestConfirmation fuelOrderRequestConfirmation = new FuelOrderRequestConfirmation();

            fuelOrderRequestConfirmation.SendFuelRequestConfirmation(model.fuelOrderId);
            return(Request.CreateResponse(response));
        }
예제 #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));
        }