public NewspaperController(INewspaperService newspaperService, INewspaperRepository newspaperRepository, IArticleRepository articleRepository, ICitizenRepository citizenRepository,
                            IUploadService uploadService, IWalletService walletService, IEquipmentRepository equipmentRepository, IConfigurationRepository configurationRepository
                            , IPopupService popupService, IEntityRepository entityRepository) : base(popupService)
 {
     this.newspaperService        = newspaperService;
     this.newspaperRepository     = newspaperRepository;
     this.articleRepository       = articleRepository;
     this.citizenRepository       = citizenRepository;
     this.uploadService           = uploadService;
     this.walletService           = walletService;
     this.equipmentRepository     = equipmentRepository;
     this.configurationRepository = configurationRepository;
     this.entityRepository        = entityRepository;
 }
Beispiel #2
0
 public NewspaperService(INewspaperRepository newspaperRepository, IEntityService entityService, IEntityRepository entityRepository, IArticleRepository articleRepository,
                         IUploadService uploadService, IWarningService warningService, ITransactionsService transactionService, IWalletService walletService, IConfigurationRepository configurationRepository,
                         ICitizenService citizenService)
 {
     this.newspaperRepository     = newspaperRepository;
     this.entityService           = Attach(entityService);
     this.entityRepository        = entityRepository;
     this.articleRepository       = articleRepository;
     this.uploadService           = Attach(uploadService);
     this.warningService          = Attach(warningService);
     this.transactionService      = Attach(transactionService);
     this.walletService           = walletService;
     this.configurationRepository = configurationRepository;
     this.citizenService          = Attach(citizenService);
 }
 public NewspaperManager(INewspaperRepository newspaperRepository, IUnitOfWork unitOfWork)
 {
     _newspaperRepository = newspaperRepository;
     _unitOfWork          = unitOfWork;
 }
 public NewspaperManager(INewspaperRepository newspaperRepository)
 {
     _newspaperRepository = newspaperRepository;
 }