public async Task GetTodoItemTest() { var testApiService = new TestApiService(); var todoItem = await testApiService.GetTodo(); Assert.IsNotNull(todoItem.Result); }
public HomeController(ILogger <HomeController> logger, TestApiService testApiService) { _logger = logger; _testApiService = testApiService; }