public bool AddMovieRating(MovieRatingDto movieRaingDto) { using (var ctx = new MoviesContext()) { return(ctx.AddMovieRating(movieRaingDto)); } }