public virtual ApiBusinessEntityContactRequestModel MapResponseToRequest( ApiBusinessEntityContactResponseModel response) { var request = new ApiBusinessEntityContactRequestModel(); request.SetProperties( response.ContactTypeID, response.ModifiedDate, response.PersonID, response.Rowguid); return(request); }
public virtual ApiBusinessEntityContactResponseModel MapRequestToResponse( int businessEntityID, ApiBusinessEntityContactRequestModel request) { var response = new ApiBusinessEntityContactResponseModel(); response.SetProperties(businessEntityID, request.ContactTypeID, request.ModifiedDate, request.PersonID, request.Rowguid); return(response); }