public async Task <ActionResult> Contact(FormCollection data) { var email = data["email"]; var msg = data["msg"]; var contact = new Contact() { Email = email, Description = msg }; await _contact.CreateAsync(contact); return(View()); }
public async Task <ActionResult> Contact(FormCollection data) { var email = data["email"]; var msg = data["msg"]; var contact = new Contact() { Email = email, Description = msg }; await _contact.CreateAsync(contact); return(View()); }