Пример #1
0
        public AjaxResult GetExams()
        {
            var ajaxResult = new AjaxResult();

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