Esempio n. 1
0
        public virtual ApiPostHistoryTypeClientRequestModel MapClientResponseToRequest(
            ApiPostHistoryTypeClientResponseModel response)
        {
            var request = new ApiPostHistoryTypeClientRequestModel();

            request.SetProperties(
                response.RwType);
            return(request);
        }
Esempio n. 2
0
        public virtual ApiPostHistoryTypeClientResponseModel MapClientRequestToResponse(
            int id,
            ApiPostHistoryTypeClientRequestModel request)
        {
            var response = new ApiPostHistoryTypeClientResponseModel();

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