public virtual ApiVendorRequestModel MapResponseToRequest(
            ApiVendorResponseModel response)
        {
            var request = new ApiVendorRequestModel();

            request.SetProperties(
                response.AccountNumber,
                response.ActiveFlag,
                response.CreditRating,
                response.ModifiedDate,
                response.Name,
                response.PreferredVendorStatu,
                response.PurchasingWebServiceURL);
            return(request);
        }
        public virtual ApiVendorResponseModel MapRequestToResponse(
            int businessEntityID,
            ApiVendorRequestModel request)
        {
            var response = new ApiVendorResponseModel();

            response.SetProperties(businessEntityID,
                                   request.AccountNumber,
                                   request.ActiveFlag,
                                   request.CreditRating,
                                   request.ModifiedDate,
                                   request.Name,
                                   request.PreferredVendorStatu,
                                   request.PurchasingWebServiceURL);
            return(response);
        }