Update Program.cs

New method to get data