How do i add parameters to an email in mvc

<>

This question already has an answer here:

Answers


Controller:

  1. In the past I've seen controller actions return ActionResult's but never a async Task<ActionResult> never mind

  2. MVC sometimes doesn't like the names of things, I would trying naming your Client model that you pass in, client.

HTML:

  1. Your BeginForm() is also missing your action and controller, but I'm sure you just excluded those.

Debugging Tip:

  • Open your web browsers network view. 'Ctrl+Shift+j' in Chrome. And click your create button. When you open the packet that create sent. Do you see all the fields of your model? (ie. Client.Title = "fancy title")

Need Your Help

ADB devices lists no connected device

android windows-8 adb

i have enabled usb debugging on my Nexus 7 (2013 model). But when i run adb devices command, the only devices listed are the running AVD emulators. Also i get no RSA fingerprint confirmation on my ...

Unable to call external servlet from Flex app

flex servlets securityexception

I am callng a servlet from a browser based Flex app but get the following exception: