public AddSharingHandler(IUnitOfWork unitOfWork, ISharingFactory sharingFactory, ISelectionRepository selectionRepository, IRecipientRepository recipientRepository) { _unitOfWork = unitOfWork; _sharingFactory = sharingFactory; _selectionRepository = selectionRepository; _recipientRepository = recipientRepository; }
static Program() { AppDbContextFactory factory = new AppDbContextFactory(); _appContext = factory.CreateDbContext(null); _makerRepository = new MakerRepository(_appContext); _partRepository = new PartRepository(_appContext); _selectionRepository = new SelectionRepository(_appContext); }
public AddRecipientsSelectionsHandler(IUnitOfWork unitOfWork, ISelectionFactory selectionFactory, IRecipientFactory recipientFactory, IRecipientRepository recipientRepository, ISelectionRepository selectionRepository, ISharingRepository sharingRepository, ISharingFactory sharingFactory, IValidator[] validator, ICommandHandlerDispatcher commandHandlerDispatcher) { _unitOfWork = unitOfWork; _selectionFactory = selectionFactory; _recipientFactory = recipientFactory; _recipientRepository = recipientRepository; _selectionRepository = selectionRepository; _sharingFactory = sharingFactory; _sharingRepository = sharingRepository; _validator = validator; _commandHandlerDispatcher = commandHandlerDispatcher; }
public HtmlSelectionController(ISelectionRepository selectionRepository) { _selectionRepository = selectionRepository; }
public SelectController(ISelectionRepository r, IInstrumentRepository i) { repo = r; instrumentRepo = i; }
public EventController(IEventRepository eventRepository, IMarketRepository marketRepository, ISelectionRepository selectionRepository) { _eventRepository = eventRepository; _marketRepository = marketRepository; _selectionRepository = selectionRepository; }
public MinistryPlatformToolsController(ISelectionRepository selectionService, IUserImpersonationService userImpersonationService) : base(userImpersonationService) { _selectionService = selectionService; }
public SelectionService(ISelectionRepository selectionRepository, IGenericRepository <Selection> genericRepository) : base(genericRepository) { _selectionRepository = selectionRepository; }