public void AddOwner() { Console.WriteLine("Podaj imię :"); string name = Console.ReadLine(); Console.WriteLine("Podaj nazwisko :"); string surname = Console.ReadLine(); Console.WriteLine("Podaj numer telefonu :"); string phoneNumber = Console.ReadLine(); name.Trim(); surname.Trim(); phoneNumber.Trim(); var ownerController = new OwnerController(); ownerController.Add(name, surname, phoneNumber); }