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

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

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

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