Exemplo n.º 1
0
        public virtual ApiBusinessEntityRequestModel MapResponseToRequest(
            ApiBusinessEntityResponseModel response)
        {
            var request = new ApiBusinessEntityRequestModel();

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

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