예제 #1
0
        public virtual ApiBusinessEntityRequestModel MapResponseToRequest(
            ApiBusinessEntityResponseModel response)
        {
            var request = new ApiBusinessEntityRequestModel();

            request.SetProperties(
                response.ModifiedDate,
                response.Rowguid);
            return(request);
        }
예제 #2
0
        public virtual ApiBusinessEntityResponseModel MapRequestToResponse(
            int businessEntityID,
            ApiBusinessEntityRequestModel request)
        {
            var response = new ApiBusinessEntityResponseModel();

            response.SetProperties(businessEntityID,
                                   request.ModifiedDate,
                                   request.Rowguid);
            return(response);
        }