public ActionResult GetAllTestTemplates() { var ListofTestCaseConditions = TestCaseTemplate.GetListofTestCaseConditions(); //var result = Content(JsonConvert.SerializeObject(ListofTestCaseConditions), "application/json"); var result = Json(ListofTestCaseConditions, JsonRequestBehavior.AllowGet); return(result); }