public FreeTimeRepository(AppDBContext context) { this.context = context; context.Database.EnsureCreated(); }