Ejemplo n.º 1
0
    public static void Seed(IApplicationBuilder app)
    {
        MuzikContext context =
            app.ApplicationServices.GetRequiredService <MuzikContext>();

        context.Database.Migrate();
    }
 public MuzikRepository(MuzikContext context)
 {
     this.context = context;
 }
 public YoneticiRepository(MuzikContext context)
 {
     this.context = context;
 }
Ejemplo n.º 4
0
 public KullaniciRepository(MuzikContext context)
 {
     this.context = context;
 }
 public SanatciRepository(MuzikContext context)
 {
     this.context = context;
 }
 public EtiketRepository(MuzikContext context)
 {
     this.context = context;
 }
 public YorumRepository(MuzikContext context)
 {
     this.context = context;
 }