Add strong naming and fix DB path on IIS Express

This commit is contained in:
SteveSandersonMS
2016-02-02 15:10:15 +00:00
parent 2218212c92
commit 73e218de4e
10 changed files with 20 additions and 27 deletions

View File

@@ -7,7 +7,7 @@ namespace ReactExample.Controllers
public class PeopleApiController : Controller
{
[HttpPut("api/people/{personId:int}")]
public async Task<ActionResult> UpdatePerson([FromBody] PersonDto person)
public ActionResult UpdatePerson([FromBody] PersonDto person)
{
if (!ModelState.IsValid) {
return HttpBadRequest(ModelState);