private void Add() { Console.Clear(); Contact contact = new Contact(); contact.UserId = AuthenticationService.LoggedUser.ID; Console.WriteLine("Add new phone!"); Console.Write("Phone number: "); contact.Phone = Console.ReadLine(); ContactsRepository contactRepo = new ContactsRepository(); contactRepo.AddPhone(contact); Console.WriteLine("Contact saved successfully."); Console.ReadKey(true); }