public SalespersonDisplayViewModel()
 {
     _currentWindow                = Application.Current.Windows.OfType <MetroWindow>().LastOrDefault();
     _salespersonAddDialog         = new SalespersonAddDialog();
     _salespersonAccountShowDialog = new SalespersonAccountShowDialog();
     _salespersonsSuggestions      = _salespersonServ.GetSalespersonsSuggetions();
     Load();
 }
        public SalespersonDisplayViewModel()
        {
            _saleServ                     = new SaleServices();
            _salespersonServ              = new SalespersonServices();
            _salespersonAddDialog         = new SalespersonAddDialog();
            _salespersonAccountShowDialog = new SalespersonAccountShowDialog();
            _salespersonUpdateDialog      = new SalespersonUpdateDialog();

            _key       = "";
            _isFocused = true;
            _salespersonsSuggestions = _salespersonServ.GetSalespersonsSuggetions();
            _currentWindow           = Application.Current.Windows.OfType <MetroWindow>().LastOrDefault();
            Load();
        }