Пример #1
0
        public virtual ApiSpaceFeatureClientRequestModel MapClientResponseToRequest(
            ApiSpaceFeatureClientResponseModel response)
        {
            var request = new ApiSpaceFeatureClientRequestModel();

            request.SetProperties(
                response.Name);
            return(request);
        }
Пример #2
0
        public virtual ApiSpaceFeatureClientResponseModel MapClientRequestToResponse(
            int id,
            ApiSpaceFeatureClientRequestModel request)
        {
            var response = new ApiSpaceFeatureClientResponseModel();

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