Beispiel #1
0
 public AdminController(ILogger <ServicesController> logger,
                        PartnerRepository partnerRepository, AffiliatesRepository affiliateRepository,
                        UserManager <IdentityUser> userManager,
                        ApplicationDbContext context, IFileProvider fileProvider)
 {
     _logger              = logger;
     _partnerRepository   = partnerRepository;
     _affiliateRepository = affiliateRepository;
     _fileProvider        = fileProvider;
     _context             = context;
     _userManager         = userManager;
 }
Beispiel #2
0
 public AffiliateService(ILogger <AffiliateService> logger, SignUpRepository signupRepository, AffiliatesRepository affiliatesRepository)
 {
     _logger               = logger;
     _signupRepository     = signupRepository;
     _affiliatesRepository = affiliatesRepository;
 }
 public AffiliateController(AffiliatesRepository repo)
 {
     _repo = repo;
 }