//public MyMoviesController() : this(new MovieDbContext())
 //{
 //}
 //public MyMoviesController(MovieDbContext dbContext)
 //{
 //    this.myMovieService = new MyMoviesService(new EfRepository<UserMovies>(dbContext));
 //    this.usersService = new UsersService(new EfRepository<User>(dbContext));
 //}
 public MyMoviesController(IMyMoviesService service, IUsersService users)
 {
     this.myMovieService = service;
     this.usersService = users;
 }
        //public MyMoviesController() : this(new MovieDbContext())
        //{
        //}

        //public MyMoviesController(MovieDbContext dbContext)
        //{
        //    this.myMovieService = new MyMoviesService(new EfRepository<UserMovies>(dbContext));
        //    this.usersService = new UsersService(new EfRepository<User>(dbContext));
        //}

        public MyMoviesController(IMyMoviesService service, IUsersService users)
        {
            this.myMovieService = service;
            this.usersService   = users;
        }