public static void Main(string[] args) { var ctx = new ReduxSagaAppContext(); if (!ctx.Products.Any()) { new DbSeed().Seed(ctx); } BuildWebHost(args).Run(); }
public ProductRepository(ReduxSagaAppContext dbContext) : base(dbContext) { }
public static void Main(string[] args) { var ctx = new ReduxSagaAppContext(); if (!ctx.Products.Any()) { new DbSeed().Seed(ctx); } BuildWebHost(args).Run(); }
public ProductRepository(ReduxSagaAppContext dbContext) : base(dbContext) { }