Example #1
0
 public HomeController(IUrlShortnerRepository UrlShortnerRepository, IAdManageRepository AdManageRepository, IRegistrationRepository RegistrationRepository, IUrlVisitorLogRepository UrlVisitorLogRepository)
 {
     this.urlShortnerRepository    = UrlShortnerRepository;
     this.adManageRepository       = AdManageRepository;
     this.registrationRepository   = RegistrationRepository;
     this._urlVisitorLogRepository = UrlVisitorLogRepository;
     count      = urlShortnerRepository.CountAllShortenUrl();
     characters = GetCharactersList();
 }
 public PaymentController(IAdManageRepository AdManageRepository, IRegistrationRepository RegistrationRepository, IPaymentRepository PaymentRepository)
 {
     this.adManageRepository     = AdManageRepository;
     this.registrationRepository = RegistrationRepository;
     this._paymentRepository     = PaymentRepository;
 }
Example #3
0
 // GET: AdManage
 public AdManageController(IAdManageRepository AdManageRepository, IRegistrationRepository RegistrationRepository)
 {
     this.adManageRepository     = AdManageRepository;
     this.registrationRepository = RegistrationRepository;
 }