public JsonResult UpdateStartEnd(int testid, DateTime start, DateTime end) { var common = new CommonService(); common.UpdateStartEnd(testid, start, end); return Json(new { common.success, common.message }); }