Beispiel #1
0
 public IActionResult Add(Disc disc)
 {
     db.Discs.Add(disc);
     db.SaveChanges();
     return(View());
 }
Beispiel #2
0
 public IActionResult Add(Artist artist)
 {
     db.Artists.Add(artist);
     db.SaveChanges();
     return(View());
 }