public VolunteersController(ApplicationDbContext applicationDbContext, UserManager <ApplicationUser> userManager, IVolunteerMatchingService volunteerMatchingService, IVolunteerService volunteerService)
 {
     this.applicationDbContext = applicationDbContext;
     this.userManager          = userManager;
     _volunteerMatchingService = volunteerMatchingService;
     _volunteerService         = volunteerService;
 }
コード例 #2
0
 public VolunteerService(IVolunteerRepository volunteerRepository, IVolunteerMatchingService volunteerMatchingService, IEmailSender emailSender)
 {
     _volunteerRepository      = volunteerRepository;
     _volunteerMatchingService = volunteerMatchingService;
     _emailSender = emailSender;
 }