public async Task <ActionResult <TVShow> > Get(int id) { var resultFound = _context.TVShow.Include(r => r.Casts).FirstOrDefault(m => m.id == id); if (resultFound != null) { resultFound.Casts = resultFound.Casts.OrderByDescending(x => x.birthday).ToList(); return(resultFound); } else { return(await ApiHelpers.GetShowCastsbyIdAsync(id)); } }