private async Task Load() { var cell = await _cellEndpoint.SelectedCell(_prisoner.IdCell); SelectedCell = cell; var cellList = await _cellEndpoint.AllCell(); Cells = new BindingList <Cell>(cellList); }
private async Task LoadCells() { var cellList = await _cellEndpoint.AllCell(); AllCell = new BindingList <Cell>(cellList); }