private static void addingCustomerFeature() { Cust ck = new Cust(); Console.WriteLine("enter cust id:"); ck.CustId = int.Parse(Console.ReadLine()); Console.WriteLine("enter cust name:"); ck.CustName = int.Parse(Console.ReadLine()); Console.WriteLine("enter cust address:"); ck.CustAddress = int.Parse(Console.ReadLine()); Console.WriteLine("enter cust salary:"); ck.CustSalary = int.Parse(Console.ReadLine()); try { bool result = mgr.AddNewCustomer(ck); if (!result) { Console.WriteLine("No more customers could be added"); } else { Console.WriteLine($"Customer by Name {ck.CustName} is added successfully to the database"); } } catch (Exception ex) { Console.WriteLine(ex.Message); } }