Song and the corresponding tables will be deleted if there are not song related to the tables. #44
This commit is contained in:
@@ -87,7 +87,7 @@ namespace Icarus.Controllers
|
||||
|
||||
|
||||
[HttpPut("{id}")]
|
||||
//[Authorize("update:songs")]
|
||||
[Authorize("update:songs")]
|
||||
public IActionResult Put(int id, [FromBody] Song song)
|
||||
{
|
||||
MusicStoreContext context = HttpContext
|
||||
|
||||
Reference in New Issue
Block a user