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

            patch.Replace(x => x.ActualEndDate, model.ActualEndDate);
            patch.Replace(x => x.ActualStartDate, model.ActualStartDate);
            patch.Replace(x => x.BillAmount, model.BillAmount);
            patch.Replace(x => x.EventStatusId, model.EventStatusId);
            patch.Replace(x => x.ScheduledEndDate, model.ScheduledEndDate);
            patch.Replace(x => x.ScheduledStartDate, model.ScheduledStartDate);
            return(patch);
        }
        public virtual ApiVEventRequestModel MapResponseToRequest(
            ApiVEventResponseModel response)
        {
            var request = new ApiVEventRequestModel();

            request.SetProperties(
                response.ActualEndDate,
                response.ActualStartDate,
                response.BillAmount,
                response.EventStatusId,
                response.ScheduledEndDate,
                response.ScheduledStartDate);
            return(request);
        }