public CustomerController(ICustomerProfileService customerService, IJobService jobService, IOfferService offerService, ICommitProvider commitProvider)
 {
     _customerService = customerService;
     _jobService      = jobService;
     _offerService    = offerService;
     _commitProvider  = commitProvider;
 }
 public ProfileController(IUserService userService, INotificationService notificationService, IFeedBackService feedBackService, ICommitProvider commitProvider)
 {
     _userService         = userService;
     _notificationService = notificationService;
     _feedBackService     = feedBackService;
     _commitProvider      = commitProvider;
 }
		public void InitTest()
		{
			base.InitDbContext();

			_backgroundService = Substitute.For<IBackgroundService>();
			_appraiserOrderRepository = new AppraiserOrderRepository(this.DbFactory);
			_orderRepository = new OrderRepository(this.DbFactory);
			_commitProvider = new CommitProvider(this.DbFactory);
			_userRepository = new UserRepository(this.DbFactory);
			_taskManager = new TaskManager(_backgroundService, _userRepository);
			_referenceManagement = new ReferenceManagement(new ReferenceRepository(this.DbFactory), new WebCacheService());
			_dateTimeManager = new DateTimeManager(_referenceManagement);
			_appraiserManagement = Substitute.For<IAppraiserManagement>();
			_configHelper = Substitute.For<IConfigurationHelper>();
			_orderManager = new OrderManager(
				_orderRepository,
				Substitute.For<IClientUserRepository>(),
				_referenceManagement,
				_appraiserManagement,
				_configHelper,
				Substitute.For<IAppraiserOrderRepository>(),
				Substitute.For<IChangeTrackingRepository>(),
				Substitute.For<IOrderHistoryManager>(),
				Substitute.For<IOrderDocumentsRepository>());

			_appraiserOrderDeliveryService = new AppraiserOrderDeliveryService(_taskManager, _appraiserOrderRepository, _commitProvider, _orderManager,
				new DateTimeManager(_referenceManagement), Substitute.For<IOrderHistoryManager>(), Substitute.For<IAppraiserOrderSetPointsRepository>(),
				Substitute.For<IAppraiserOrderListItemRepository>(),
				Substitute.For<IOrderPeriodicalNotificationManager>());
		}
Exemple #4
0
		public AciManager(IAciXmlFieldsRepository aciXmlFieldsRepository, IAciXmlRepository aciXmlRepository, IOrderRepository orderRepository, ICommitProvider commitProvider)
		{
			_aciXmlFieldsRepository = aciXmlFieldsRepository;
			_aciXmlRepository = aciXmlRepository;
			_orderRepository = orderRepository;
			_commitProvider = commitProvider;
		}
Exemple #5
0
 public ChatController(IChatRoomService chatRoomService, IMessageService messageService, IUserService userService, INotificationService notificationService, ICommitProvider commitProvider)
 {
     _chatRoomService     = chatRoomService;
     _messageService      = messageService;
     _userService         = userService;
     _notificationService = notificationService;
     _commitProvider      = commitProvider;
 }
Exemple #6
0
 public BikeController(IBikeService bikeService, IUserManagerService userManagerService, ICommitProvider commitProvider, IOrderRepository orderRepository, IOrderService orderService)
 {
     _bikeService        = bikeService;
     _userManagerService = userManagerService;
     _commitProvider     = commitProvider;
     _orderRepository    = orderRepository;
     _orderService       = orderService;
 }
Exemple #7
0
		public AvmRequestsService(IConfigurationHelper configurationHelper, ICommitProvider commitProvider, IAvmRequestsRepository avmRequestsRepository, ITaskManager taskManager, IOrderManager orderManager, IDocumentService documentService)
		{
			_configurationHelper = configurationHelper;
			_commitProvider = commitProvider;
			_avmRequestsRepository = avmRequestsRepository;
			_taskManager = taskManager;
			_orderManager = orderManager;
			_documentService = documentService;
		}
 public EmployeeController(IEmployeeProfileService employeeService, IJobService jobService, IOfferService offerService, ISectionService sectionService, ISkillService skillService, ICommitProvider commitProvider)
 {
     _employeeService = employeeService;
     _jobService      = jobService;
     _offerService    = offerService;
     _sectionService  = sectionService;
     _skillService    = skillService;
     _commitProvider  = commitProvider;
 }
Exemple #9
0
 public JobController(IJobService jobService, IEmployeeProfileService employeeService, IOfferService offerService, ISectionService sectionService, ISkillService skillService, INotificationService notificationService, ICommitProvider commitProvider)
 {
     _jobService          = jobService;
     _employeeService     = employeeService;
     _offerService        = offerService;
     _sectionService      = sectionService;
     _skillService        = skillService;
     _notificationService = notificationService;
     _commitProvider      = commitProvider;
 }
		public void TestInitialize()
		{
			_appraiserOrderRepository = Substitute.For<IAppraiserOrderRepository>();
			_backgroundService = Substitute.For<IBackgroundService>();
			_userRepository = Substitute.For<IUserRepository>();
			_taskManager = new TaskManager(_backgroundService, _userRepository);
			_commitProvider = Substitute.For<ICommitProvider>();

			Target = new AppraiserOrderDeliveryService(_taskManager, _appraiserOrderRepository, _commitProvider, Substitute.For<IOrderManager>(),
				new DateTimeManager(Substitute.For<IReferenceManagement>()), Substitute.For<IOrderHistoryManager>(), Substitute.For<IAppraiserOrderSetPointsRepository>(),
				Substitute.For<IAppraiserOrderListItemRepository>(), Substitute.For<IOrderPeriodicalNotificationManager>());
		}
Exemple #11
0
		public void InitTest()
		{
			base.InitDbContext();
			_commitProviderInstance = new CommitProvider(this.DbFactory);
			_avmRequestsRepository = new AvmRequestsRepository(this.DbFactory);
			_configurationHelper = new ConfigHelper();
			_taskManager = Substitute.For<ITaskManager>();
			_orderManager = Substitute.For<IOrderManager>();
			_documentService = Substitute.For<IDocumentService>();

			_avmRequestsService = new AvmRequestsService(_configurationHelper, _commitProviderInstance, _avmRequestsRepository, _taskManager, _orderManager, _documentService);
		}
		public AppraiserOrderDeliveryService(ITaskManager taskManager, IAppraiserOrderRepository appraiserOrderRepository,
			ICommitProvider commitProvider, IOrderManager orderManager, DateTimeManager dateTimeManager, IOrderHistoryManager orderHistoryManager,
			IAppraiserOrderSetPointsRepository appraiserOrderSetPointsRepository, IAppraiserOrderListItemRepository appraiserOrderListItemRepository,
			IOrderPeriodicalNotificationManager orderPeriodicalNotificationManager)
		{
			_taskManager = ValidationUtil.CheckOnNullAndThrowIfNull(taskManager);
			_appraiserOrderRepository = ValidationUtil.CheckOnNullAndThrowIfNull(appraiserOrderRepository);
			_commitProvider = ValidationUtil.CheckOnNullAndThrowIfNull(commitProvider);
			_orderManager = ValidationUtil.CheckOnNullAndThrowIfNull(orderManager);
			_dateTimeManager = ValidationUtil.CheckOnNullAndThrowIfNull(dateTimeManager);
			_orderHistoryManager = ValidationUtil.CheckOnNullAndThrowIfNull(orderHistoryManager);
			_appraiserOrderSetPointsRepository = ValidationUtil.CheckOnNullAndThrowIfNull(appraiserOrderSetPointsRepository);
			_appraiserOrderListItemRepository = ValidationUtil.CheckOnNullAndThrowIfNull(appraiserOrderListItemRepository);
			_orderPeriodicalNotificationManager = ValidationUtil.CheckOnNullAndThrowIfNull(orderPeriodicalNotificationManager);
		}
Exemple #13
0
			public CommitFilter(ICommitProvider commitProvider)
			{
				_commitProvider = ValidationUtil.CheckOnNullAndThrowIfNull(commitProvider);
			}
 public CommitController(ICommitProvider commitProvider)
 {
     this.commitProvider = commitProvider;
 }
 public AccountController(IUserManagerService userManagerService, ICommitProvider commitProvider)
 {
     _userManagerService = userManagerService;
     _commitProvider     = commitProvider;
 }
 public CommentService(ICommitProvider commitProvider, ICommentRepository commentRepository, IAccountRepository accountRepository)
 {
     _commitProvider    = commitProvider;
     _commentRepository = commentRepository;
     _accountRepository = accountRepository;
 }
 public SvnCommitsController([Svn]ICommitProvider provider)
 {
     _provider = provider;
 }
Exemple #18
0
 public BikeService(IBikeRepository bikeRepository, ICommitProvider commitProvider, IUserManagerService userManagerService)
 {
     _bikeRepository     = bikeRepository;
     _commitProvider     = commitProvider;
     _userManagerService = userManagerService;
 }
Exemple #19
0
		public LicenseDailyUpdateByHUD(IHUDService hudService, ICommitProvider commitProvider)
		{
			_hudService = hudService;
			_commitProvider = commitProvider;
		}
Exemple #20
0
 public CommentService(ICommentRepository commentRepository, ICommitProvider commitProvider, IUserManagerService userManagerService)
 {
     _commentRepository  = commentRepository;
     _commitProvider     = commitProvider;
     _userManagerService = userManagerService;
 }
		public LicenseDailyUpdateByAscGov(IAscGovLicenseService ascGovLicenseService, ICommitProvider commitProvider)
		{
			_ascGovLicenseService = ascGovLicenseService;
			_commitProvider = commitProvider;
		}
Exemple #22
0
 public OfferController(IOfferService offerService, INotificationService notificationService, ICommitProvider commitProvider)
 {
     _offerService        = offerService;
     _notificationService = notificationService;
     _commitProvider      = commitProvider;
 }
Exemple #23
0
 public AccountController(IUserService userService, ICustomerProfileService customerService, ICommitProvider commitProvider)
 {
     _userService    = userService;
     _cusomerService = customerService;
     _commitProvider = commitProvider;
 }
Exemple #24
0
 public AccountService(IAccountRepository accountRepository, ICommitProvider commitProvider, UserManager <Account> userManager)
 {
     _accountRepository = accountRepository;
     _commitProvider    = commitProvider;
     _userManager       = userManager;
 }
Exemple #25
0
 public ProposalManager(IProposalRepository proposalRepository, ICommitProvider commitProvider)
 {
     _proposalRepository = proposalRepository;
     _commitProvider     = commitProvider;
 }
Exemple #26
0
 public PetService(IPetRepository petRepository, IAccountRepository accountRepository, ICommitProvider commitProvider)
 {
     _petRepository     = petRepository;
     _accountRepository = accountRepository;
     _commitProvider    = commitProvider;
 }
Exemple #27
0
 public OrderService(ICommitProvider commitProvider, IOrderRepository orderRepository, IAccountRepository accountRepository)
 {
     _commitProvider    = commitProvider;
     _orderRepository   = orderRepository;
     _accountRepository = accountRepository;
 }
Exemple #28
0
 public ModeratorController(IUserService userService, IRoleService roleService, ICommitProvider commitProvider)
 {
     _userService    = userService;
     _roleService    = roleService;
     _commitProvider = commitProvider;
 }
Exemple #29
0
 public NotificationController(INotificationService notificationService, ICommitProvider commitProvider)
 {
     _notificationService = notificationService;
     _commitProvider      = commitProvider;
 }
Exemple #30
0
 public TripController(ITripService tripService, IUserManagerService userManagerService, ICommitProvider commitProvider)
 {
     _tripService        = tripService;
     _userManagerService = userManagerService;
     _commitProvider     = commitProvider;
 }
Exemple #31
0
 public TripService(ITripRepository tripRepository, ICommitProvider commitProvider, IUserManagerService userManagerService)
 {
     _tripRepository     = tripRepository;
     _commitProvider     = commitProvider;
     _userManagerService = userManagerService;
 }
Exemple #32
0
		public LicenseExpirationCheck(IAppraiserManagement appraiserManagement, ICommitProvider commitProvider)
		{
			_appraiserManagement = appraiserManagement;
			_commitProvider = commitProvider;
		}
		public AssignmentAppraisersForOrder(IOrderAssignmentService orderAssignmentService, ICommitProvider commitProvider)
		{
			_orderAssignmentService = orderAssignmentService;
			_commitProvider = commitProvider;
		}
Exemple #34
0
		public LOEGenerationTask(ILetterOfEngagementService letterOfEngagementService, IOrderManager orderManager, ICommitProvider commitProvider)
		{
			_letterOfEngagementService = letterOfEngagementService;
			_orderManager = orderManager;
			_commitProvider = commitProvider;
		}