public static void SeedData(ProffyDbContext proffyContext) { System.Console.WriteLine("Applying Migrations..."); proffyContext.Database.Migrate(); System.Console.WriteLine("Finished applying migrations..."); proffyContext.SaveChanges(); }
public UserRepository(ProffyDbContext dbContext) { _dbContext = dbContext; }
public ClassRepository(ProffyDbContext dbContext) { _dbContext = dbContext; }
public ScheduleRepository(ProffyDbContext dbContext) { _dbContext = dbContext; }
public ConnectionRepository(ProffyDbContext dbContext) { _dbContext = dbContext; }