mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Add strong naming and fix DB path on IIS Express
This commit is contained in:
1
samples/react/ReactGrid/.gitignore
vendored
1
samples/react/ReactGrid/.gitignore
vendored
@@ -3,3 +3,4 @@ project.lock.json
|
||||
/wwwroot/bundle.*
|
||||
/wwwroot/*.svg
|
||||
/wwwroot/*.css
|
||||
/Properties/launchSettings.json
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user