public CounterSubTypeCollectionViewModel(INavigation navigate, CounterTypeViewModel dataMaster) : base(navigate)
        {
            EditCommand   = new Command <CounterSubTypeViewModel>(EditItem);
            AddCommand    = new Command(AddItem);
            DeleteCommand = new Command <CounterSubTypeViewModel>(DeleteItem);

            CounterType = dataMaster;
        }
 public CounterSubTypeAddEditViewModel(INavigation navigate, CounterTypeViewModel counterType) : base(navigate)
 {
     SaveCommand = new Command(OnSave);
     CounterType = counterType;
 }