private void LoadActions(IDbServiceModel model)
 {
     IsRefreshing    = true;
     SelectedAction  = null;
     IsActionEnabled = false;
     IsEnabled       = false;
     _worker.Start(() => model.GetActions(_source.SelectedSource), delegate(ICollection <IDbAction> actions)
     {
         Actions         = actions;
         IsRefreshing    = false;
         IsActionEnabled = true;
         IsEnabled       = true;
         if (!string.IsNullOrEmpty(ProcedureName))
         {
             SelectedAction = Actions.FirstOrDefault(action => action.Name == ProcedureName);
         }
     });
 }