Beispiel #1
0
        public virtual ApiEmployeePayHistoryRequestModel MapResponseToRequest(
            ApiEmployeePayHistoryResponseModel response)
        {
            var request = new ApiEmployeePayHistoryRequestModel();

            request.SetProperties(
                response.ModifiedDate,
                response.PayFrequency,
                response.Rate,
                response.RateChangeDate);
            return(request);
        }
Beispiel #2
0
        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);
        }