public IHttpActionResult PostMovie(MovieDto movie)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }
            df.MovieRepository.Add(new MovieDtoConverter().Reverse(movie));

            return CreatedAtRoute("DefaultApi", new { id = movie.MovieId }, movie);
        }
        public IHttpActionResult PutMovie(int id, MovieDto movie)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }
            try
            {
                df.MovieRepository.Edit(new MovieDtoConverter().Reverse(movie));
            }
            catch (DbUpdateConcurrencyException)
            {
                return NotFound();
            }

            return StatusCode(HttpStatusCode.NoContent);
        }