Ejemplo n.º 1
0
 public void DeleteUser()
 {
     try
     {
         User = AddUserM.GetUser(UserSelected);
         AddUserM.DeleteUser(User);
         UserIds.Remove(User.Id);
         (App.Current as App).navigation.MainWindows.comments.Text = "משתמש הוסר בהצלחה";
     }
     catch (Exception e)
     {
         (App.Current as App).navigation.MainWindows.comments.Text = e.Message.ToString();
     }
 }