Beispiel #1
0
 public UserServiceMock
     (IUnitOfWork unitOfWork                    = null, IUserRepository _userRepository = null, IChannelRepository channelRepository = null, IUserChannelRepository userChannelRepository = null,
     IModuleRepository moduleRepository         = null, ICompanyRepository companyRepository = null, IRoleRepository roleRepository  = null,
     IDepartmentRepository departmentRepository = null, ILogService loggerService            = null, IUserRoleModuleRepository userRoleModuleRepository = null,
     IUserTitleRepository userTitleRepository   = null, IDepartmentDepartmentTypeRepository departmentDepartmentTypeRepository = null,
     IMRMUserDepartmentTypeRepository userDepartmentTypeRepository = null) : base(
         unitOfWork, _userRepository, channelRepository, userChannelRepository, moduleRepository, companyRepository, roleRepository, departmentRepository, loggerService,
         userRoleModuleRepository, userTitleRepository, departmentDepartmentTypeRepository, userDepartmentTypeRepository)
 {
 }
Beispiel #2
0
 public AdminServiceMock(
     IUnitOfWork unitOfWork = null, IVendorRepository vendor = null, IUserTitleRepository userTitle = null
     , ITypeOfWorkCategoryRepository TOWCategoryRepository        = null,
     IMediaOutletCategoryRepository MediaOutletCategoryRepository = null, IGLAccountMediaOutletCategoryRepository GLAccountMediaOutletCategoryRepository = null,
     IWBSElementRepository wbsElementRepository       = null, IMediaOutletRepository mediaOutletRepository = null, IChannelDeliverableGroupUserTitleRepository channelDeliverableGroupUserTitleRepository = null
     , IMasterVendorRepository masterVendorRepository = null, IDeliverableGroupRepository deliverableGroupRepository = null,
     ITypeOfWorkRepository towRepository = null
     ) : base(unitOfWork, vendor, userTitle, TOWCategoryRepository,
              MediaOutletCategoryRepository, GLAccountMediaOutletCategoryRepository, wbsElementRepository, mediaOutletRepository, channelDeliverableGroupUserTitleRepository, masterVendorRepository, deliverableGroupRepository, towRepository
              )
 {
 }
Beispiel #3
0
 public UserTitleService(IUserTitleRepository userTitleRepository, IMapper mapper)
 {
     _userTitleRepository = userTitleRepository ?? throw new ArgumentNullException(nameof(userTitleRepository));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Beispiel #4
0
        public DeliverableServiceMock(IUnitOfWork unitOfWork = null, IDeliverableRepository deliverableRepository = null,
                                      IDeliverableStatusRepository deliverableStatusRepository = null, IDepartmentRepository departmentRepository = null,
                                      IChannelRepository channelRepository = null, ITypeOfWorkRepository typeOfWorkRepository = null,
                                      ITypeOfWorkCategoryRepository typeOfWorkTypeRepository = null, IDeliverableCategoryRepository deliverableCategoryRepository = null,
                                      IDeliverableTypeRepository deliverableTypeRepository   = null, IDeliverableSubTypeRepository deliverableSubTypeRepository   = null,
                                      ITargetRepository targetRepository         = null, IActivityTypeRepository activityTypeRepository = null,
                                      IBudgetTypeRepository budgetTypeRepository = null, IWBSElementRepository budgetTypeTOWRepository  = null,
                                      IFamilyProductIssueTowDeliverableRepository familyProductIssueTowDeliverableRepository = null, IVendorRepository vendorRepository = null,
                                      IProductionMethodTypeRepository productionMethodTypeRepository = null, IUserRepository userRepository       = null,
                                      IGLAccountRepository glAccountRepository         = null, IActivityStatusRepository activityStatusRepository = null, IMediaOutletCategoryRepository mediaOutletCategoryRepository = null,
                                      IMediaOutletRepository mediaOutletRepository     = null,
                                      IPrintCategoryRepository printCategoryRepository = null, ICalendarRepository calendarRepository = null,
                                      ILogService logService = null, IDeliverableTypeCompanyVendorRepository deliverableTypeCompanyVendorRepository = null, IOffAirDesignRepository printRepository = null,
                                      IMediaBuyCommittedRepository mediaBuyCommittedRepository = null,
                                      IInternalRepository iInternalRepository = null,
                                      IActivityStatusCategoryRepository iActivityStatusCategoryRepository = null, IChannelCostCenterRepository channelCostCenterRepository = null,
                                      //Contract Request - EDMX fix
                                      //IContractRequestHeaderRepository contractRequestHeaderRepository = null, IContractRequestLineRepository contractRequestLineRepository = null,
                                      ITrackActivityElementRepository trackActivityElementRepository = null, IAssetGroupRepository assetGroupRepository = null,
                                      IAssetGroupChannelHouseAdvertiserRepository assetGroupChannelHouseAdvertiserRepository = null,
                                      IUserChannelRepository userChannelRepository              = null,
                                      IChannelTalentRepository channelTalentRepository          = null,
                                      IDeliverable_TalentRepository talentDeliverableRepository = null, ITalentRepository talentRepository = null,
                                      IUserTitleRepository userTitleRepository = null, IDeliverableUserTitleMrmUserRepository deliverableUserTitleMrmUserRepository = null,
                                      IDeliverableProductionMethodTypeRepository deliverableProductionMethodTypeRepository         = null, IDeliverableDateTypeRepository deliverableDateTypeRepository = null,
                                      IDeliverableGroupDeliverableDateTypeRepository deliverableGroupDeliverableDateTypeRepository = null,
                                      IDeliverableDateRepository deliverableDeliverableDateTypeRepository = null, IDeliverableGroupRepository deliverableGroupRepository = null,
                                      IScriptRepository scriptRepository = null, IMusicRepository musicRepository = null, IMusicSubLibraryRepository _musicSubLibraryRepository = null,
                                      IMusicLibraryRepository _musicLibraryRepository            = null, IRecordingTypeRepository recordingTypeRepository = null, IMusicUsageTypeRepository musicUsageTypeRepository = null,
                                      IWBS_DeliverablesRepository wbsDeliverablesRepository      = null,
                                      IGraphicElementRepository graphicElementRepository         = null, IGraphicImageRepository graphicImageRepository = null,
                                      IGraphicElementTypeRepository graphicElementTypeRepository = null, IGraphicElementTypeGraphicPackageChannelRepository graphicElementTypeGraphicPackageChannelRepository = null,
                                      IGraphicHeaderRepository graphicHeaderRepository           = null,
                                      ITrackTypeRepository trackTypeRepository         = null, IWorkOrderVendorRepository workOrderVendorRepository = null,
                                      IWorkOrderTypeRepository workOrderTypeRepository = null,

                                      IDeliverableDateRepository deliverableDeliverableGroupDeliverableDateTypeRepository = null,
                                      IDeliverableDateTypeRepository iDeliverableDateTypeRepository = null,
                                      IMediaTypeRepository mediaTypeRepository = null, IApprovalRepository approvalRepository = null,
                                      IApprovalTypeChannelBudgetTypeMRMUserUserTitleRepository approvalTypeChannelBudgetTypeMRMUserUserTitleRepository    = null, IImageService imageService = null, IGraphicFrameRateRepository graphicFrameRateRepository = null, IGraphicPackageRepository graphicPackageRepository = null
                                      , IApprovalTypeChannelBudgetTypeMRMUserUserTitleRepository iApprovalTypeChannelBudgetTypeMRMUserUserTitleRepository = null
                                      , IChannelDeliverableTypeDeliverableGroupRepository channelDeliverableTypeDeliverableGroupRepository = null,
                                      IDeliverableDateSummaryRepository deliverableDateSummaryRepository         = null,
                                      IDeliverableSecondaryTargetRepostiory deliverableSecondaryTargetRepostiory = null,
                                      IDeliverablePlannedLengthRepository deliverablePlannedLengthRepository     = null,
                                      IInternationalService internationalService   = null,
                                      ICommentRepository commentRepository         = null,
                                      ICommentTypeRepository commentTypeRepository = null,
                                      IWBSFiscalYear_ChannelRepository iWBSFiscalYear_ChannelRepository  = null,
                                      IDeliverableHouseNumberRepository deliverableHouseNumberRepository = null,
                                      IPropertyService propertyService = null,
                                      ILineOfBusinessRepository lineOfBusinessRepository = null,
                                      IDeliverableLineOfBusinessRepository deliverableLineOfBusinessRepository = null,
                                      IDeliverableBudgetRepository deliverableBudgetRepository    = null,
                                      IDeliverable_VendorRepository ideliverable_VendorRepository = null,
                                      IDeliverableInternationalDetailRepository deliverableInternationalDetailRepository = null,
                                      IDeliverableInternationalPathRepository deliverableInternationalPathRepository     = null,
                                      //Contract Request - EDMX fix
                                      IHDeliverableBudgetRepository hDeliverableBudgetRepository = null, IDeliverableBudgetRepository deliverable_BudgetRepository = null) : base(
                unitOfWork, deliverableRepository, deliverableStatusRepository, departmentRepository, channelRepository, typeOfWorkRepository, typeOfWorkTypeRepository, deliverableCategoryRepository, deliverableTypeRepository, deliverableSubTypeRepository, targetRepository, activityTypeRepository, budgetTypeRepository, budgetTypeTOWRepository, familyProductIssueTowDeliverableRepository, vendorRepository, productionMethodTypeRepository, userRepository, glAccountRepository, activityStatusRepository, mediaOutletCategoryRepository, mediaOutletRepository,
                printCategoryRepository, calendarRepository, logService, deliverableTypeCompanyVendorRepository, printRepository, mediaBuyCommittedRepository, iInternalRepository, iActivityStatusCategoryRepository, channelCostCenterRepository, /*contractRequestHeaderRepository, contractRequestLineRepository,*/ trackActivityElementRepository, assetGroupRepository, assetGroupChannelHouseAdvertiserRepository, userChannelRepository, channelTalentRepository, talentDeliverableRepository, talentRepository, userTitleRepository, deliverableUserTitleMrmUserRepository, deliverableProductionMethodTypeRepository, deliverableDateTypeRepository, deliverableGroupDeliverableDateTypeRepository, deliverableDeliverableDateTypeRepository, deliverableGroupRepository, scriptRepository, musicRepository, _musicSubLibraryRepository, _musicLibraryRepository, recordingTypeRepository, musicUsageTypeRepository, wbsDeliverablesRepository,
                graphicElementRepository, graphicImageRepository, graphicElementTypeRepository, graphicElementTypeGraphicPackageChannelRepository,
                graphicHeaderRepository,
                trackTypeRepository, workOrderVendorRepository, workOrderTypeRepository,
                deliverableDeliverableGroupDeliverableDateTypeRepository, iDeliverableDateTypeRepository, mediaTypeRepository, approvalRepository, approvalTypeChannelBudgetTypeMRMUserUserTitleRepository, imageService, graphicFrameRateRepository, graphicPackageRepository
                , iApprovalTypeChannelBudgetTypeMRMUserUserTitleRepository
                , channelDeliverableTypeDeliverableGroupRepository,
                deliverableDateSummaryRepository,
                deliverableSecondaryTargetRepostiory,
                deliverablePlannedLengthRepository,
                internationalService,
                commentRepository,
                commentTypeRepository,
                iWBSFiscalYear_ChannelRepository,
                deliverableHouseNumberRepository, propertyService,
                lineOfBusinessRepository,
                deliverableLineOfBusinessRepository,
                deliverableBudgetRepository,
                ideliverable_VendorRepository,
                deliverableInternationalDetailRepository,
                deliverableInternationalPathRepository,
                hDeliverableBudgetRepository, deliverable_BudgetRepository)
        {
        }
 public DeliverableServiceV2Mock(IMasterVendorViewRepository masterVendorViewRepository = null,
                                 IGraphicHeaderRepository graphicsHeaderRepository      = null,
                                 IPropertyService propertyService     = null,
                                 ICommentRepository commentRepository = null,
                                 IDeliverableDateRepository deliverableDateRepository = null,
                                 IDeliverableRepository deliverableRepository         = null,
                                 IDeliverableCommentService icommentService           = null,
                                 ICommentTypeRepository commentTypeService            = null,
                                 ITalentRepository talentRepository = null,
                                 IDeliverableUserTitleMrmUserRepository deliverableUserTitleMrmUserRepository = null,
                                 IDeliverableSecondaryTargetRepostiory deliverableSecondaryTargetRepository   = null,
                                 IDeliverable_TalentRepository talentDeliverableRepository = null,
                                 IDeliverableStatusRepository deliverableStatusRepository  = null,
                                 IChannelTalentRepository channelTalentRepository          = null,
                                 IDeliverable_TalentRepository deliverableTalentRepository = null,
                                 ICalendarRepository calendarRepository = null,
                                 IUnitOfWork iunitOfWork = null,
                                 IDeliverable_VendorRepository deliverable_VendorRepository = null,
                                 ITrackService itrackService = null,
                                 IActivityTypeActivityStatusRepository activityTypeActivityStatusRepository = null,
                                 ITypeOfWorkRepository typeOfWorkRepository = null,
                                 ITypeOfWorkCategoryRepository typeOfWorkCategoryRepository = null,
                                 IScriptRepository scriptRepository = null,
                                 IChannelDeliverableGroupUserTitleRepository channelDeliverableGroupUserTitleRepository = null,
                                 IApprovalTypeChannelBudgetTypeMRMUserUserTitleRepository approvalTypeChannelBudgetTypeMRMUserUserTitleRepository = null,
                                 IDeliverableDateRepository deliverableDeliverableGroupDeliverableDateTypeRepository = null,
                                 IOffAirDesignRepository offAirDesignRepository = null,
                                 IDeliverableDateTypeRepository deliverableDateTypeRepository = null,
                                 IDeliverableInternationalDetailRepository deliverableInternationalDetailRepository = null,
                                 IDeliverableInternationalPathRepository deliverableInternationalPathRepository     = null,
                                 ICampaignRepository campaignRepository   = null,
                                 IUserTitleRepository userTitleRepository = null,
                                 IDeliverableGroupDeliverableDateTypeRepository deliverableGroupDeliverableDateTypeRepository = null,
                                 IOffAirDesignProductionMethodTypeRepository offAirDesignProductionMethodTypeRepository       = null,
                                 IProductionMethodCategoryRepository productionMethodCategoryRepository = null,
                                 IAssetGroupChannelHouseAdvertiserRepository assetGroupChannelHouseAdvertiserRepository = null,
                                 IPaidMediaRepository paidMediaRepository           = null,
                                 IGraphicHeaderRepository graphicHeaderRepository   = null,
                                 IGraphicElementRepository graphicElementRepository = null,
                                 IGraphicImageRepository graphicImageRepository     = null,
                                 IGraphicElementTypeGraphicPackageChannelRepository graphicElementTypeGraphicPackageChannelRepository = null,
                                 IDeliverableBudgetService budgetService = null,
                                 IPaidMediaInvoiceRepository paidMediaInvoiceRepository = null,
                                 IPaidMediaDetailRepository paidMediaDetailRepository   = null,
                                 IMusicRepository musicRepository = null,
                                 IMusicSubLibraryRepository musicSubLibraryRepository = null,
                                 IDeliverableScriptService scriptService = null,
                                 IDeliverableBudgetRepository deliverableBudgetRepository           = null,
                                 ITrackSearchRepository trackSearchRepository                       = null,
                                 IActivityStatusRepository activityStatusRepository                 = null,
                                 WBSFiscalYear_ChannelRepository wBSFiscalYear_ChannelRepository    = null,
                                 IDeliverableProductionMethodTypeRepository mopDeliverableRepositry = null,
                                 IDeliverableLineOfBusinessRepository lobRepositry                  = null,
                                 IProductionMethodTypeRepository productionMethodTypeRepository     = null,
                                 ILineOfBusinessRepository lineOfBusinessRepository                 = null,
                                 IDeliverableGroupTargetPlatformRepository targetPlatformRepository = null,
                                 ITrackActivityElementRepository trackActivityElementRepository     = null,
                                 IDeliverableGroupRepository deliverableGroupRepository             = null,
                                 IApprovalTypeRepository approvalTypeRepository                     = null,
                                 IApprovalService approvalService                   = null,
                                 IDepartmentRepository departmentRepository         = null,
                                 IDeliverableScriptService deliverableScriptService = null,
                                 IDeliverable_BusinessAreaRepository deliverable_BusinessAreaRepository = null,
                                 IChannelRepository channelRepository = null,
                                 IVendorRepository vendorRepository   = null,
                                 IContractRequest_DeliverableRepository ContractRequestDeliverableRepository = null,
                                 IUserRepository userRepository = null
                                 )
     : base(masterVendorViewRepository, graphicsHeaderRepository, propertyService, commentRepository, deliverableDateRepository, deliverableRepository, icommentService, commentTypeService, talentRepository, deliverableUserTitleMrmUserRepository, deliverableSecondaryTargetRepository, talentDeliverableRepository, deliverableStatusRepository, channelTalentRepository,
            deliverableTalentRepository, calendarRepository, iunitOfWork, deliverable_VendorRepository, itrackService, activityTypeActivityStatusRepository, typeOfWorkRepository, typeOfWorkCategoryRepository, scriptRepository, channelDeliverableGroupUserTitleRepository,
            approvalTypeChannelBudgetTypeMRMUserUserTitleRepository, deliverableDeliverableGroupDeliverableDateTypeRepository, offAirDesignRepository, deliverableDateTypeRepository, deliverableInternationalDetailRepository, deliverableInternationalPathRepository, campaignRepository, userTitleRepository, deliverableGroupDeliverableDateTypeRepository, offAirDesignProductionMethodTypeRepository, productionMethodCategoryRepository, assetGroupChannelHouseAdvertiserRepository, paidMediaRepository, graphicHeaderRepository,
            graphicElementRepository, graphicImageRepository, graphicElementTypeGraphicPackageChannelRepository, budgetService, paidMediaInvoiceRepository, paidMediaDetailRepository, musicRepository, musicSubLibraryRepository, scriptService, deliverableBudgetRepository, trackSearchRepository, activityStatusRepository, wBSFiscalYear_ChannelRepository, mopDeliverableRepositry, lobRepositry,
            productionMethodTypeRepository, lineOfBusinessRepository, targetPlatformRepository, trackActivityElementRepository,
            deliverableGroupRepository, approvalTypeRepository, approvalService, departmentRepository,
            deliverableScriptService, deliverable_BusinessAreaRepository, channelRepository, vendorRepository, ContractRequestDeliverableRepository, userRepository)
 {
 }
 public UserTitleService(IUserTitleRepository repository)
 {
     Repository = repository;
 }