public async Task <IActionResult> Get() { var response = await _starshipService.GetAllStarshipAsync <Starship>(); if (response is null) { return(Ok("Não encontrado")); } return(Ok(response)); }
public async Task GetlAllStarships() { var response = await _starshipService.GetAllStarshipAsync <Character>(); Assert.IsNotNull(response); }