Exemplo n.º 1
0
        //ended by Suranjana

        public MasterController(IDepartmentService DepartmentService, IDivisionService DivisionService,
                                ILocalizationService localizationService, IExecutive ExecutiveService, IWorkContext workContext,
                                IProductType ProductTypeService
                                //added by Saddam on 17/05/2016
                                , IAuthorService AuthorService,
                                //Added by sanjeet
                                IPublishingCompanyService publishingCompanyService,
                                IEncryptionService encryptionService,
                                ICommonListService commonList,
                                IDbContext dbContext,
                                //Added By Ankush Kumar on 11/07/2016
                                ISubsidiaryRightsService subsidiaryRightsService,
                                //Added by Suranjana on 11/07/2016
                                ITypeOfRightsService typeOfRightsService
                                )
        {
            _DepartmentService   = DepartmentService;
            _DivisionService     = DivisionService;
            _localizationService = localizationService;
            _ExecutiveService    = ExecutiveService;
            _workContext         = workContext;
            _ProductTypeService  = ProductTypeService;
            //Added by saddam on 17/05/2016
            _AuthorTypeService = AuthorService;
            //ended by saddam
            _publishingCompanyService = publishingCompanyService;
            _encryptionService        = encryptionService;
            _commonList     = commonList;
            this._dbContext = dbContext;
            //Added by Suranjana on 11/07/2016
            _typeOfRightsService = typeOfRightsService;
        }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor methos
 /// </summary>
 /// <param name="mobjTypeOfRightsService">accepts TypeOfRightsService interface object as parameter</param>
 /// <param name="mobjLocalizationService">accepts LocalizationService interface object as parameter</param>
 public TypeOfRightsMasterController(ILogger mobjLoggerService,
                                     ITypeOfRightsService mobjTypeOfRightsService,
                                     ILocalizationService mobjLocalizationService,
                                     IRepository <TypeOfRightsMaster> objTypeOfRightsRepository,
                                     IRepository <RightsSellingMaster> objRightsSellingRepository)
 {
     _mobjLoggerService          = mobjLoggerService;
     _mobjTypeOfRightsService    = mobjTypeOfRightsService;
     _mobjLocalizationService    = mobjLocalizationService;
     _objTypeOfRightsRepository  = objTypeOfRightsRepository;
     _objRightsSellingRepository = objRightsSellingRepository;
 }