You can use
TempData for that.
Note:Below example has been extracted from my Blog Article.So please Change it according to your scenario.
Model:
public class CreditCardInfo
{
public string CardNumber { get; set; }
public string Span { get; set; }
public int ExpiryMonth { get; set; }
}
Action Method :
TempData["CreditCardInfo"] = creditCardInfo;
Your
2nd View :
@{
if (TempData["CreditCardInfo"] != null)
{
var creditCardInfo = TempData["CreditCardInfo"] as CreditCardInfo;
}
}
Check for more info on My Blog Article :
How to use Asp.Net MVC TempData Properly