Continued to work on the update student handler
This commit is contained in:
@@ -43,7 +43,8 @@ namespace BrightGlimmer.Api.Controllers
|
||||
[HttpPut]
|
||||
public async Task<ActionResult> Update([FromBody]UpdateStudentCommand command)
|
||||
{
|
||||
|
||||
var student = await mediator.Send(command);
|
||||
return new JsonResult(student);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user