public virtual ApiPersonPhoneRequestModel MapResponseToRequest( ApiPersonPhoneResponseModel response) { var request = new ApiPersonPhoneRequestModel(); request.SetProperties( response.ModifiedDate, response.PhoneNumber, response.PhoneNumberTypeID); return(request); }
public virtual ApiPersonPhoneResponseModel MapRequestToResponse( int businessEntityID, ApiPersonPhoneRequestModel request) { var response = new ApiPersonPhoneResponseModel(); response.SetProperties(businessEntityID, request.ModifiedDate, request.PhoneNumber, request.PhoneNumberTypeID); return(response); }