public AlbumSeed(MvcMusicStoreContext context) { context.Albums.Add(new Album { Artist = new Artist { Name = "Rush" }, Genre = new Genre { Name = "Rock" }, Price = 9.99m, Title = "Caravan", }); }
public AlbumController(MvcMusicStoreContext context) { _context = context; }
public SongsController(MvcMusicStoreContext context) { _context = context; }
public OrderController(MvcMusicStoreContext context) { _context = context; }
public TestController(MvcMusicStoreContext context) { _context = context; }
public ArtistRepository(MvcMusicStoreContext context) { _mvcMusicStoreContext = context; }
public SampleController(MvcMusicStoreContext context) { _context = context; }
public ArtistSeed(MvcMusicStoreContext context) { context.Artists.Add(new Artist { Name = "Al Di Meola" }); }
public CheckoutController(MvcMusicStoreContext context) { _context = context; }
public CatalogController(MvcMusicStoreContext context) { this._musicStoreContext = context; }
public ArtistsController(MvcMusicStoreContext context) { _context = context; }
public GenreSeed(MvcMusicStoreContext context) { context.Genres.Add(new Genre { Name = "Jazz" }); }