private async Task Load()
        {
            var cell = await _cellEndpoint.SelectedCell(_prisoner.IdCell);

            SelectedCell = cell;
            var cellList = await _cellEndpoint.AllCell();

            Cells = new BindingList <Cell>(cellList);
        }
Пример #2
0
        private async Task LoadCells()
        {
            var cellList = await _cellEndpoint.AllCell();

            AllCell = new BindingList <Cell>(cellList);
        }