コード例 #1
0
 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;
 }
コード例 #2
0
 public EventController(EventDatabaseRepository eventDatabaseRepository, IHostingEnvironment hostingEnvironment, UserDatabaseRepository userDatabaseRepository)
 {
     this.eventDatabaseRepository = eventDatabaseRepository;
     this.hostingEnvironment      = hostingEnvironment;
     this.userDatabaseRepository  = userDatabaseRepository;
 }