public static void Initilize(IServiceProvider serviceProvider) { context = (LiveGameContext)serviceProvider.GetService(typeof(LiveGameContext)); InitilizeDatabase(); }
public EntityBaseRepository(LiveGameContext context) { _context = context; }