public AdminProjectService(IRepositoryFactory repositoryFactory, IUserRepository userRepository, IProductWriterForAdmin productWriterForAdmin, IFileSystem fileSystem) { _projectRepository = repositoryFactory.Create<ProjectEntity>(); _userRepository = userRepository; _productWriterForAdmin = productWriterForAdmin; _fileSystem = fileSystem; }
private RoundController(IDalContext context) { _tournaments = context.Tournaments; _members = context.Members; _rounds = context.Rounds; _tables = context.Tables; }
public EmailSenderService( IRepositoryFactory repositoryFactory, IMailerRepository mailerRepository, IMapper mapper) { _mailerRepository = mailerRepository; _mapper = mapper; _sendEmailRepository = repositoryFactory.Create<SendEmailEntity>(); }
/// <summary> /// Initializes a new instance of <see cref="TableServiceImpl"/> /// </summary> /// <param name="holidayRepository"></param> /// <param name="planWorkDayrepository"></param> public TableServiceImpl(IHolidayRepository holidayRepository, IPlanWorkDayRepository planWorkDayrepository, ITableRepository tableRepository, ITableRecordRepository tableRecordRepository) { _holidayRepository = holidayRepository; _planWorkDayRepository = planWorkDayrepository; _tableRepository = tableRepository; _tableRecordRepository = tableRecordRepository; }
public ProcessedVideoHandler( IRepositoryFactory repositoryFactory, IService<DomainProjectProcessedScreenshot> projectProcessedScreenshotService, Lazy<IService<DomainProjectProcessedVideo>> projectProcessedVideoService, IMapper mapper) { _projectProcessedScreenshotService = projectProcessedScreenshotService; _projectProcessedVideoServiceLazy = projectProcessedVideoService; _mapper = mapper; _processedScreenshotRepository = repositoryFactory.Create<ProcessedScreenshotEntity>(); _processedVideoRepository = repositoryFactory.Create<ProcessedVideoEntity>(); _videoQueueRepository = repositoryFactory.Create<VideoQueueEntity>(); }
public EmailNotificationService( IRepositoryFactory repositoryFactory, IEmailSenderService emailSenderService, IPortalFrontendSettings settings, IUserService userService, IProductIdExtractor productIdExtractor, IProjectUriProvider projectUriProvider, IUserUriProvider userUriProvider) { _emailSenderService = emailSenderService; _settings = settings; _productIdExtractor = productIdExtractor; _userService = userService; _projectUriProvider = projectUriProvider; _userUriProvider = userUriProvider; _emailRepository = repositoryFactory.Create<SendEmailEntity>(); }
public AdminUserService( IRepositoryFactory repositoryFactory, IUserRepository userRepository, IProjectRepository projectRepository, IPasswordService passwordService, IProjectService projectService, IProductWriterForAdmin productWriterForAdmin, IMapper mapper) { _userRepository = userRepository; _passwordService = passwordService; _projectService = projectService; _productWriterForAdmin = productWriterForAdmin; _mapper = mapper; _fileRepository = repositoryFactory.Create<FileEntity>(); _projectRepository = projectRepository; }
public PasswordRecoveryService( IRepositoryFactory repositoryFactory, IUserRepository userRepository, IMailerRepository mailerRepository, IPasswordRecoveryFactory passwordRecoveryFactory, IPortalFrontendSettings settings, IRecoveryLinkService recoveryLinkService, IPasswordService passwordService) { _userRepository = userRepository; _passwordRecoveryFactory = passwordRecoveryFactory; _settings = settings; _recoveryLinkService = recoveryLinkService; _passwordService = passwordService; _mailerRepository = mailerRepository; _passwordRecoverRepository = repositoryFactory.Create<PasswordRecoveryEntity>(); }
public TaskKeeper( IMapper mapper, IRepositoryFactory repositoryFactory, IProjectRepository projectRepository, IService<DomainProjectProcessedScreenshot> projectProcessedScreenshotService, IService<DomainProjectProcessedVideo> projectProcessedVideoService) { _mapper = mapper; _projectRepository = projectRepository; _projectProcessedScreenshotService = projectProcessedScreenshotService; _projectProcessedVideoService = projectProcessedVideoService; _processedScreenshotRepository = repositoryFactory.Create<ProcessedScreenshotEntity>(); _processedVideoRepository = repositoryFactory.Create<ProcessedVideoEntity>(); _videoQueueRepository = repositoryFactory.Create<VideoQueueEntity>(); _lastSave = DateTime.MinValue; }
public HomeController(ITableRepository <MessageEntity> tableRepository) { _tableRepository = tableRepository; }
public LastProjectService(IRepositoryFactory repositoryFactory) { _projectRepository = repositoryFactory.Create<ProjectEntity>(); }
public IssuerService(ITableRepository <Issuer> tableRepository) { this.tableRepository = tableRepository; }
public AbstractApiTableRequestModelValidator(ITableRepository tableRepository) { this.tableRepository = tableRepository; }
public TablesController(ITableRepository repository) { repo = repository; }
public DeleteReservationCommandHandler(ITableRepository tableRepository) { this.TableRepository = tableRepository; }
public TableService(ITableFactory factory, ITableRepository repository) { tableFactory = factory; tableRepository = repository; }
public FocusAreaLibrary(string dbContextConnectionString) : base(dbContextConnectionString) { _dbTableContext = new DataTableRepository(dbContextConnectionString); }
public TableService(ITableRepository tableRepository, IProductService productService) { this.tableRepository = tableRepository; this.productService = productService; }
public TableController(IBoxRepository _BoxRepository, IRestaurantRepository _RestaurantRepository, IAreaRepository _AreaRepository, ITableRepository _TableRepository) { BoxRepository = _BoxRepository; RestaurantRepository = _RestaurantRepository; AreaRepository = _AreaRepository; TableRepository = _TableRepository; }
public ApiTableServerRequestModelValidator(ITableRepository tableRepository) { this.TableRepository = tableRepository; }
public PayloadTable(ITableRepository storgeRepository) { _table = storgeRepository.GetTable(nameof(WebhookContainerName.WebhookPayloads)); }
public HomeController(IOrderRepository _OrderRepository, ICategoryRepository _CategoryRepository, ITableRepository _TableRepository, IMarketRepository _MarketRepository, IAreaRepository _AreaRepository) { OrderRepository = _OrderRepository; TableRepository = _TableRepository; MarketRepository = _MarketRepository; CategoryRepository = _CategoryRepository; AreaRepository = _AreaRepository; }
public ApiTableRequestModelValidator(ITableRepository tableRepository) : base(tableRepository) { }
public async Task SetUp() { _sut = TableRepositoryFactory.Create <PersonEntity>(); await _sut.DeleteAllAsync(); }
public void SetUp() { _sut = TableRepositoryFactory.Create <PersonWithEnumEntity>(); }
public void Initialize() { dbFactory = new DbFactory(); objecRepository = new TableRepository(dbFactory); unitOfWork = new UnitOfWork(dbFactory); }
public static Task <Population> GetPopulationAsync(this ITableRepository <Population> repository, string country, string city) => repository.GetAsync(country, city);
protected ServiceTestBase() { _repo = TableRepositoryFactory.Create <TableEntity>(); }
public TableController(ITableRepository TableRepository) { _tableRepository = TableRepository; }
public TablesController(IUnitOfWork unitOfWork, IMapper mapper) : base(unitOfWork, mapper) { this.repository = (ITableRepository)this.unitOfWork.Repository <TableDto>(); }
public EquipmentCategoryController(ITableRepository <EquipmentCategory> tableRepo) : base(tableRepo) { }
public TableService(IUnitOfWork unitOfWork, ITableRepository tableRepository) { this.unitOfWork = unitOfWork; this.tableRepository = tableRepository; }
public StockService(ITableRepository <Stock> tableRepository) { this.tableRepository = tableRepository; }
public HomeController(ITableRepository <UrlEntity> urlRepository) { this.urlRepository = urlRepository; }
public BlendController(ITableRepository <Blend, BlendPreview> tableRepo) : base(tableRepo) { _blendRepository = (BlendRepository)tableRepo; }
public ReportManager(IRequestsService requestsService, ITableRepository tableRepository) { _requestsService = requestsService; _tableRepository = tableRepository; }
public FileSystem(IUserRepository userRepository, IRepositoryFactory repositoryFactory, CloudBlobClient blobClient) { _userRepository = userRepository; _blobClient = blobClient; _fileRepository = repositoryFactory.Create<FileEntity>(); }
private void InitRepository() { DrinkRepository = new DrinkRepository(_coffeeDbContext); CategoryRepository = new CategoryRepository(_coffeeDbContext); TableRepository = new TableRepository(_coffeeDbContext); }
public UserController(ITableRepository <User, UserView> tableRepo) : base(tableRepo) { _userRepository = (UserRepository)tableRepo; }
public GetTableDetailsUseCase(IOutputPort outputPort, ITableRepository tableRepository) { this.outputPort = outputPort; this.tableRepository = tableRepository; }
public BusStationController(ITableRepository <BusStation> tableRepo) : base(tableRepo) { }