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

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

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

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