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