public ProfileController(UserDatabaseRepository userDatabaseRepository, IHttpContextAccessor httpContextAccessor, IHostingEnvironment hostingEnvironment, EventDatabaseRepository eventDatabaseRepository, PaymentsDatabaseRepository paymentsDatabaseRepository) { this.userDatabaseRepository = userDatabaseRepository; this.httpContextAccessor = httpContextAccessor; this.hostingEnvironment = hostingEnvironment; this.eventDatabaseRepository = eventDatabaseRepository; this.paymentsDatabaseRepository = paymentsDatabaseRepository; }
public EventController(EventDatabaseRepository eventDatabaseRepository, IHostingEnvironment hostingEnvironment, UserDatabaseRepository userDatabaseRepository) { this.eventDatabaseRepository = eventDatabaseRepository; this.hostingEnvironment = hostingEnvironment; this.userDatabaseRepository = userDatabaseRepository; }