public async Task <MovieViewModel> GetMovieDetail(Guid id) { var movie = await _db.Movies .Include(r => r.MovieShowTimes) .Include(r => r.Actors) .ThenInclude(r => r.Celebrity) .FirstOrDefaultAsync(r => r.Id == id); if (movie == null) { throw StaticExceptions.AppServerErrors.ObjectNotFound; } return(MovieViewModel.FromEntity(movie)); }