Beispiel #1
0
 public double GetRating(string id)
 {
     using (var ctx = new MoviesContext())
     {
         return(ctx.GetRating(id));
     }
 }