I have a view(EditView) that should display the data from 2 models. For this I put 2 models in one class like

```
public class MergeModel
{
    public Reservation Reservation { get; set; }
    public ViewTrain ViewTrain { get; set; }

}

```

and in the view I put the first line as `@model MergeModel`. But my problem is I'm sending only `ViewTrain` model's data to `EditView` and not Reservation model's data, so its displaying a error like the view is expecting `MergeModel` but you are sending `ViewTrain` model. So what should I do now to solve this?
In detail: I have a ViewTrain model which contains trainId,TrainName,StartPlace and EndPlace and I have Reservation model which contains ReserveId,trainId,TrainName,StartPlace,EndPlace,NeedNoOfSeats. I have a view in which if I enter startPlace and EndPlace it will show the relevant trains available. On a particular train detail, if i click on select option a new view should be rendered in which all these details like trainId,TrainName,StartPlace and endPlace should be autofilled and NeedNoOfSeats textbox should be available to enter the number of seats, but Im not able do this..