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

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

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

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