public IActionResult AddSong(Song s) { //TODO: Test this if (ModelState.IsValid) { var song = new Song { Title = s.Title, Url = s.Url }; repository.Update(song); return(RedirectToAction("AllSongs", "Music")); } else { return(View()); } }