示例#1
0
        public IQueryable <Citizen> CitizensGridGetRows()
        {
            IQueryable <Citizen> result = null;

            try
            {
                result = _citizenService.GetAllCitizens();
            }
            catch (Exception ex)
            {
                BaseException.HandleException(ex, false);
                _viewModel.ShowErrorMessage(ex.Message);
            }
            return(result);
        }