Esempio n. 1
0
        public async Task Get_All_Seasons()
        {
            var movieService = new OmdbService();
            var result       = await movieService.GetAllSeasonsAsync("tt0475784").ConfigureAwait(false);

            Assert.IsNotNull(result);
        }
 public async Task <IActionResult> Seasons(string id)
 {
     return(Ok(await _omdbService.GetAllSeasonsAsync(id)));
 }