示例#1
0
        public ListController(IWorkContext workContext,
                              IPublishingCompanyService publishingCompanyService,
                              IDbContext dbContext,
                              ILicenseeService mobjLicenseeService,
                              ICopyrightHolderService mobjCopyrightHolderService,
                              IGeographicalService geographicalService,

                              IRepository <SeriesMaster> mobjSeriesMasterRepository,
                              IRepository <DivisionMaster> mobjDivisionMasterRepository,
                              IRepository <ACS.Core.Domain.Product.ProductMaster> mobjProductMasterRepository,
                              IRepository <AuthorContractOriginal> mobjAuthorContractRepository,
                              IRepository <LicenseeMaster> mobjLicenseeMasterRepository,
                              IRepository <GeographicalMaster> mobjGeographicalMasterRepository,
                              IRepository <CopyRightHolderMaster> mobjCopyRightHolderMasterRepository
                              )
        {
            _workContext = workContext;
            _publishingCompanyService = publishingCompanyService;
            _dbContext                  = dbContext;
            _mobjLicenseeService        = mobjLicenseeService;
            _mobjCopyrightHolderService = mobjCopyrightHolderService;
            _geographicalService        = geographicalService;

            _mobjSeriesMasterRepository          = mobjSeriesMasterRepository;
            _mobjDivisionMasterRepository        = mobjDivisionMasterRepository;
            _mobjProductMasterRepository         = mobjProductMasterRepository;
            _mobjAuthorContractRepository        = mobjAuthorContractRepository;
            _mobjLicenseeMasterRepository        = mobjLicenseeMasterRepository;
            _mobjGeographicalMasterRepository    = mobjGeographicalMasterRepository;
            _mobjCopyRightHolderMasterRepository = mobjCopyRightHolderMasterRepository;
        }
示例#2
0
 public GeographicalMasterController(
     IGeographicalService geographicalService,
     IDbContext dbContext,
     ILocalizationService localizationService,
     IPublishingCompanyService publishingCompanyService,
     IPubCenterService mobjPubCenterService,
     IAuthorService AuthorService,
     ICopyrightHolderService mobjCopyrightHolderService,
     ILicenseeService mobjLicenseeService
     )
 {
     _geographicalService        = geographicalService;
     _localizationService        = localizationService;
     this._dbContext             = dbContext;
     _publishingCompanyService   = publishingCompanyService;
     _mobjPubCenterService       = mobjPubCenterService;
     _AuthorTypeService          = AuthorService;
     _mobjCopyrightHolderService = mobjCopyrightHolderService;
     _mobjLicenseeService        = mobjLicenseeService;
 }
 public CityController(IGeographicalService geographicalService)
 {
     _geographicalService = geographicalService;
 }