Beispiel #1
0
        protected ResourceResponse Json(object data, System.Text.Json.JsonSerializerOptions jsonSerializerOptions = null)
        {
            var response = new ResourceResponse();

            response.JsonContent(data, jsonSerializerOptions);

            return(response);
        }