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; }
// GET: AdManage public AdManageController(IAdManageRepository AdManageRepository, IRegistrationRepository RegistrationRepository) { this.adManageRepository = AdManageRepository; this.registrationRepository = RegistrationRepository; }