public Track CreateTrack(string name, string fileUrl)
 {
     Track track = new Track(name, fileUrl);
     db.Tracks.Add(track);
     db.SaveChanges();
     return track;
 }
Exemplo n.º 2
0
 public void CreateTrack(string name, string fileUrl)
 {
     Track track = new Track(name, fileUrl);
     db.Tracks.Add(track);
     db.SaveChanges();
 }