Get Average Using LINQ June 10, 2023 by Tarik double RatingAverage = ctx.Rates.Where(r => r.Id == Id).Average(r => r.Rating);