public IActionResult Contactus(GetInTouch1 contact1) { ContactHandler handler = new ContactHandler(_configuration); var newGetInTouch1 = handler.AddGetInTouch1(contact1); //contact1.DateCreated = DateTime.Now; return(RedirectToAction("Listing")); }