public IActionResult JsonPack <T>(JsonBase <T> json, bool CamelCase = false) { var str = json.ModelToJson(CamelCase); var result = new ContentResult() { Content = str, ContentType = "application/json" }; //return Json(json); return(result); }