title: Object property not updating
body: <p>My MVC5 project View makes an api call to api/movies where the following logic exists:</p>
  
  <p>(First, this is how the moviesDto is instantiated):</p>
  
  <pre><code>var moviesQuery = _context.Movies.Include(m =&gt; m.Genre);
  var moviesDto = moviesQuery.ToList()
              .Select(Mapper.Map&lt;Movie, MovieDto&gt;);
  </code></pre>
  
  <p>And here's the logic:</p>
  
  <pre><code>//for regular API call add N/A to items that are not available
      foreach (MovieDto movie in moviesDto)
      {
          if (movie.NumberAvailable == 0)
                  movie.Name = movie.Name + " N/A. :(";
      }
      return Ok(moviesDto);
  </code></pre>
  
  <p>I inspect the movie object(s) at run-time IN THE Foreach LOOP in debug mode and indeed find that the name property for some movies has "N/A :(" appended to it.
  But in the view, only the movie's (original) name appears.</p>
  
  <p>Edit: On inspection of the moviesDto on the last line above line just before it is returned to caller, I find that the relevant movies' names have not been updated.</p>
  
  <p>FWIW, This is the movieDto class definition:</p>
  
  <pre><code>public class MovieDto
      {
          public int Id { get; set; }
  
          [Required]
          [StringLength(100)]
          public string Name { get; set; }
  
          [Required]
          public byte GenreId { get; set; }
  
          public GenreDto Genre { get; set; }
  
          public DateTime ReleaseDate { get; set; }
  
          public DateTime DateAdded { get; set; }
  
          [Range(1, 25)]
          public byte NumberInStock { get; set; }
  
          public byte NumberAvailable { get; set; }
      }
  </code></pre>