public ActionResult Delete(QuestionViewModel model) { ResponseResult result = QuestionRepo.Delete(model); return(Json(new { success = result.Success, message = result.ErrorMessage, entity = result.Entity }, JsonRequestBehavior.AllowGet)); }