public virtual ApiSalesOrderHeaderSalesReasonRequestModel MapResponseToRequest( ApiSalesOrderHeaderSalesReasonResponseModel response) { var request = new ApiSalesOrderHeaderSalesReasonRequestModel(); request.SetProperties( response.ModifiedDate, response.SalesReasonID); return(request); }
public virtual ApiSalesOrderHeaderSalesReasonResponseModel MapRequestToResponse( int salesOrderID, ApiSalesOrderHeaderSalesReasonRequestModel request) { var response = new ApiSalesOrderHeaderSalesReasonResponseModel(); response.SetProperties(salesOrderID, request.ModifiedDate, request.SalesReasonID); return(response); }