public virtual ApiEmployeePayHistoryRequestModel MapResponseToRequest( ApiEmployeePayHistoryResponseModel response) { var request = new ApiEmployeePayHistoryRequestModel(); request.SetProperties( response.ModifiedDate, response.PayFrequency, response.Rate, response.RateChangeDate); return(request); }
public virtual ApiEmployeePayHistoryResponseModel MapRequestToResponse( int businessEntityID, ApiEmployeePayHistoryRequestModel request) { var response = new ApiEmployeePayHistoryResponseModel(); response.SetProperties(businessEntityID, request.ModifiedDate, request.PayFrequency, request.Rate, request.RateChangeDate); return(response); }