public virtual AjaxResult GetAllEntities() { var ajaxResult = new AjaxResult(); try { ajaxResult.Data = _baseBL.GetAllEntities(); ajaxResult.Success = true; ajaxResult.Messanger = Properties.Resources.VN_SuccessLoad; } catch (Exception) { ajaxResult.Success = false; ajaxResult.Messanger = Properties.Resources.VN_ErrLoad; } return(ajaxResult); }