Song and the corresponding tables will be deleted if there are not song related to the tables. #44

This commit is contained in:
amazing-username
2019-05-25 00:50:30 +00:00
parent f9e66f416d
commit dd89b97997
6 changed files with 211 additions and 62 deletions
+1 -1
View File
@@ -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