public PositionsForManagerViewModel(PositionsForManager positions)
        {
            view = positions;


            positionService = new PositionService();

            Position     = new tblPosition();
            PositionList = positionService.GetPositions();
        }
コード例 #2
0
 private void ShowPositionsExecute()
 {
     try
     {
         PositionsForManager positionsView = new PositionsForManager();
         positionsView.ShowDialog();
         //PositionList = positionService.GetPositions();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }