public UsersAccountTypeViewModel(IUsersAccountTypeStore usersAccountTypeStore, IPageService pageService)
        {
            _usersAccountTypeStore = usersAccountTypeStore;
            _pageService           = pageService;

            LoadDataCommand       = new Command(async() => await LoadData());
            AddUserAccountType    = new Command(async() => await AddUserAccType());
            SelectUserAccountType = new Command <UserAccountTViewModel>(async c => await SelectUserAccType(c));
            DeleteUserAccountType = new Command <UserAccountTViewModel>(async c => await DeleteUserAccType(c));
        }
        public UserAccountTypeDetailViewModel(UserAccountTViewModel viewModel, IUsersAccountTypeStore usersAccountTypeStore, IPageService pageService)
        {
            if (viewModel == null)
            {
                throw new ArgumentNullException(nameof(viewModel));
            }

            _pageService           = pageService;
            _usersAccountTypeStore = usersAccountTypeStore;

            SaveCommand = new Command(async() => await Save());

            UsersAccount = new UsersAccountType
            {
                id          = viewModel.Id,
                accountName = viewModel.AccountName,
                accountType = viewModel.AccountType
            };
        }