public ActionResult CreateRandom(SampleData data) { data.CreatedDate = DateTime.Now; _sampleManager.Create(data); return(RedirectToAction("Index")); }