Basically, I'm passing a model object to a method and in that method, assigning the proper object from the database. Since this is a reference, I assumed it would persist throughout the rest of the method in which it it was called/passed. I know this has something to do with the proxy of entity framework but can't figure out how to fix it. Here is a fragment of the code:

```
    [HttpPost]
public ActionResult Create(NewFormViewModel nfvm)
{
    db = new dbconnection(connStr);
    Track track= new Track();
    Track parentTrack = new Track();
      this.Create_SetTrack(nfvm, track, parentTrack);
         ...

```

and then in Create\_SetTrack:

```
        private void Create_SetTrack(NewFormViewModel nfvm, Track track, Track parentTrack)
        {
            track = db.Tracks.FirstOrDefault();
            parentTrack = db.Tracks.Where(i=>i.ParentID==track.ID).FirstOrDefault();
        }

```

The track loads in Create\_SetTrack but then, after the code after the '...' continues in Create, track is back to it's null values.