public DictionaryListViewModel(string tableName, IEnumerable <ColumnViewModel> columnView)
        {
            _columnView = columnView;
            using (var service = ServiceClientProvider.GetDictionary())
            {
                _tableName = tableName;
                var response = service.GetDictionary(_tableName, columnView.Select(x => x.DbName));

                var rows = new List <EntityViewModel>();
                foreach (var iRow in response)
                {
                    var cells = new List <CellViewModel>();
                    var name  = string.Empty;
                    foreach (var iColumn in columnView)
                    {
                        var value = iRow.Cells.First(x => x.Key == iColumn.DbName).Value;
                        if (iColumn.DbName == "Name")
                        {
                            name = value;
                        }
                        var cell = new CellViewModel()
                        {
                            ColumnName = iColumn.DbName, Name = iColumn.Name, Value = value
                        };
                        cells.Add(cell);
                    }
                    int id     = int.Parse(iRow.Cells.First(x => x.Key == "Id").Value);
                    var entity = new EntityViewModel(name, cells, id);
                    rows.Add(entity);
                }
                Rows = new ObservableCollection <EntityViewModel>(rows);
            }
        }