public void Configure(IApplicationBuilder app, IHostingEnvironment env, MatchCreationInitiatorSingletonService matchCreationInitiator, CustomGoogleApiAccessTokenService googleApiAccessTokenManagerService, ApplicationDbContext dbContext, NpgsqlConnection npgsqlConnection) { matchCreationInitiator.StartThread(); googleApiAccessTokenManagerService.Initialize().Wait(); // //Заполнение данными new DataSeeder().Seed(dbContext); app.UseMvc(); }
public GoogleApiPurchasesWrapperService(CustomGoogleApiAccessTokenService accessTokenService, PurchaseValidateUrlFactory purchaseValidateUrlFactory) { this.accessTokenService = accessTokenService; this.purchaseValidateUrlFactory = purchaseValidateUrlFactory; }
public GoogleApiPurchaseAcknowledgeService(CustomGoogleApiAccessTokenService accessTokenService, PurchaseAcknowledgeUrlFactory factory) { this.accessTokenService = accessTokenService; this.factory = factory; }