public async void AddUser()
        {
            string message = _passwordValidator.IsValid(Login, Password, Confirm, Repository.GetItems <User>());

            if (message == "Valid")
            {
                var navParam = new NavigationParameters();
                navParam.Add("Login", Login);
                Repository.SaveItem(new User(Login, Password));
                await NavigationService.NavigateAsync($"/{nameof(SignInView)}", navParam);
            }
            else
            {
                string error = _translator.GetTranslate(message);
                _userDialogs.Alert(error, "Ok");
            }
        }
 private string GetTranslate()
 {
     return(_allertErrorTranslator.GetTranslate("EditPrifileError"));
 }