mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-24 02:30:13 +00:00
Towards working forms
This commit is contained in:
@@ -113,8 +113,7 @@ namespace MusicStore.Apis
|
||||
}
|
||||
|
||||
[HttpPut("{albumId:int}/update")]
|
||||
[Authorize("app-ManageStore")]
|
||||
public async Task<ActionResult> UpdateAlbum(int albumId, [FromBody]AlbumChangeDto album)
|
||||
public async Task<ActionResult> UpdateAlbum(int albumId, [FromBody] AlbumChangeDto album)
|
||||
{
|
||||
if (!ModelState.IsValid)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user