public UserApi(IUnitOfWorkFactory unitOfWorkFactory, BursifyUserRepository userRepository, Repository <UserAddress> userAddressRepository, CampaignRepository campaignRepository, CampaignSponsorRepository campaignSponsorRepository, NotificationRepository notificationRepository) { this.unitOfWorkFactory = unitOfWorkFactory; this.userRepository = userRepository; this.userAddressRepository = userAddressRepository; this.campaignRepository = campaignRepository; this.campaignSponsorRepository = campaignSponsorRepository; this.notificationRepository = notificationRepository; }
public SponsorApi(IUnitOfWorkFactory unitOfWorkFactory, BursifyUserRepository userRepository, Repository <UserAddress> userAddressRepository, CampaignRepository campaignRepository, CampaignSponsorRepository campaignSponsorRepository, SponsorshipRepository sponsorshipRepository, StudentSponsorshipRepository studentSponsorshipRepository, Repository <Student> studentRepository, BridgeRepository <CampaignReport> campaignReportBridgeRepository, SponsorRepository sponsorRepository, NotificationRepository notificationRepository) : base(unitOfWorkFactory, userRepository, userAddressRepository, campaignRepository, campaignSponsorRepository, notificationRepository) { this.sponsorshipRepository = sponsorshipRepository; this.studentSponsorshipRepository = studentSponsorshipRepository; this.studentRepository = studentRepository; this.campaignReportBridgeRepository = campaignReportBridgeRepository; this.sponsorRepository = sponsorRepository; }