예제 #1
0
        public virtual ApiLinkTypeClientRequestModel MapClientResponseToRequest(
            ApiLinkTypeClientResponseModel response)
        {
            var request = new ApiLinkTypeClientRequestModel();

            request.SetProperties(
                response.RwType);
            return(request);
        }
예제 #2
0
        public virtual ApiLinkTypeClientResponseModel MapClientRequestToResponse(
            int id,
            ApiLinkTypeClientRequestModel request)
        {
            var response = new ApiLinkTypeClientResponseModel();

            response.SetProperties(id,
                                   request.RwType);
            return(response);
        }