static void Main(string[] args) { ReceiptController receiptController = new ReceiptController(); receiptController.setUp(); // function that reads the files then calls the controller endpoints String jsonResult = receiptController.GetReceipts(); // function to get the expected result Console.WriteLine(jsonResult); }