public AjaxResult GetExams() { var ajaxResult = new AjaxResult(); try { ajaxResult.Data = examBLL.GetExams(); } catch (Exception ex) { ajaxResult.Success = false; ajaxResult.Message = ex.Message; } return(ajaxResult); }