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

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

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

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