I have in my Model this field
[DataType(DataType.DateTime)] [Required(ErrorMessage = \"Expire is required\")] public DateTime Expire { get;
Try one of the following:
return View(new MyObject())
@inherits System.Web.Mvc.WebViewPage