public PositionsForManagerViewModel(PositionsForManager positions) { view = positions; positionService = new PositionService(); Position = new tblPosition(); PositionList = positionService.GetPositions(); }
private void ShowPositionsExecute() { try { PositionsForManager positionsView = new PositionsForManager(); positionsView.ShowDialog(); //PositionList = positionService.GetPositions(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }