public static void AddEmployee() { Console.Write("Please enter a name: "); string name = Console.ReadLine(); Console.Write("Please enter a salary: "); decimal salary = decimal.Parse(Console.ReadLine()); using (var context = new CompanyServiceClient()) { Employee employee = context.CreateEmployee(new Employee() { Name = name, Salary = salary }); Console.WriteLine($"{employee.Name}, {employee.Salary}"); } Menu(); }