public virtual ApiSalesTerritoryHistoryRequestModel MapResponseToRequest( ApiSalesTerritoryHistoryResponseModel response) { var request = new ApiSalesTerritoryHistoryRequestModel(); request.SetProperties( response.EndDate, response.ModifiedDate, response.Rowguid, response.StartDate, response.TerritoryID); return(request); }
public virtual ApiSalesTerritoryHistoryResponseModel MapRequestToResponse( int businessEntityID, ApiSalesTerritoryHistoryRequestModel request) { var response = new ApiSalesTerritoryHistoryResponseModel(); response.SetProperties(businessEntityID, request.EndDate, request.ModifiedDate, request.Rowguid, request.StartDate, request.TerritoryID); return(response); }