Beispiel #1
0
        public static async Task Main(string[] args)
        {
            _potatoService = new PotatoService();
            var potatoCount = await _potatoService.GetPotatoCount();

            Console.WriteLine($"There are {potatoCount} potatoes today");
        }
Beispiel #2
0
        public async void Test1()
        {
            var potatoCount = await _potatoService.GetPotatoCount();

            Assert.Equal(5, potatoCount);
        }