public EmailDeliveryResponse CreateResponse(ResponseStates status, string ExtraCorrelation = "")
        {
            EmailDeliveryResponse mess = new EmailDeliveryResponse();

            mess.MessageHeader.NmsCorrelationId = this.MessageHeader.NmsCorrelationId + ExtraCorrelation;
            mess.Request = this;
            mess.Status  = status;
            return(mess);
        }
        public ResponseStates GetStates()
        {
            ResponseStates response = new ResponseStates();

            response.MyProperty = carsRepository.GetStates();
            response.Success    = true;
            response.Message    = "states got";

            return(response);
        }
 protected override SimpleMessageResponse <Messages.EmailDeliveryRequest> CreateResponseMessage(Messages.EmailDeliveryRequest request, ResponseStates status)
 {
     return(request.CreateResponse(status));
 }