public async Task <IActionResult> GetAsync(int id) { var item = await movie.GetMovieById(id); if (item == null) { return(NotFound("No movie with given id")); } return(Ok(item)); }