public HttpResponseMessage sendRequestConfirmation(DispatchEmailsRequest model) { SuccessResponse response = new SuccessResponse(); FuelOrderRequestConfirmation fuelOrderRequestConfirmation = new FuelOrderRequestConfirmation(); fuelOrderRequestConfirmation.SendFuelRequestConfirmation(model.fuelOrderId); return(Request.CreateResponse(response)); }
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)); }