Creating endpoint that allows for student update

This commit is contained in:
2019-04-27 15:23:12 -04:00
parent 1a95acac01
commit 8cacaa36ce
7 changed files with 88 additions and 0 deletions

View File

@@ -39,5 +39,11 @@ namespace BrightGlimmer.Api.Controllers
var student = await mediator.Send(command);
return new JsonResult(student);
}
[HttpPut]
public async Task<ActionResult> Update([FromBody]UpdateStudentCommand command)
{
}
}
}