public JsonPatchDocument <ApiSpaceFeatureRequestModel> CreatePatch(ApiSpaceFeatureRequestModel model)
        {
            var patch = new JsonPatchDocument <ApiSpaceFeatureRequestModel>();

            patch.Replace(x => x.Name, model.Name);
            return(patch);
        }
        public virtual ApiSpaceFeatureRequestModel MapResponseToRequest(
            ApiSpaceFeatureResponseModel response)
        {
            var request = new ApiSpaceFeatureRequestModel();

            request.SetProperties(
                response.Name);
            return(request);
        }
        public virtual ApiSpaceFeatureResponseModel MapRequestToResponse(
            int id,
            ApiSpaceFeatureRequestModel request)
        {
            var response = new ApiSpaceFeatureResponseModel();

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