public JsonResult MarkAsComplete(int testid) { var common = new CommonService(); var isComplete = common.MarkAsComplete(testid); return Json(new { isComplete, common.success, common.message }); }