public ContractorsController(IContractorService ContractorService, ILoggerFactory loggerFactory ) : base(loggerFactory) { _ContractorService = ContractorService; }
public ContactService( ILogger <ContactService> logger, IContractorService contractorService) { _contractorService = contractorService; _logger = logger; }
public ContractorController(IContractorService contractorService, IMapper mapper) { Guard.ThrowIfArgumentIsNull(contractorService, nameof(contractorService)); Guard.ThrowIfArgumentIsNull(mapper, nameof(mapper)); _contractorService = contractorService; _mapper = mapper; }
public ContractorController( IContractorService contractorService, IOrganizationRecruiter recruiter, IServiceProvider serviceProvider) : base(serviceProvider) { _contractorService = contractorService; _recruiter = recruiter; }
public LookupsController(IContractService contractService, ICategoryService categoryService, IContractorService contractorService, IImageService imageService, IInventoryService inventoryService) { this.contractService = contractService; this.categoryService = categoryService; this.contractorService = contractorService; this.imageService = imageService; this.inventoryService = inventoryService; }
public AddTransactionForm(IContractorService contractorService, ITransactionService transactionService, IRecycleBinService recycleBinService, string defaultContractorName = default) { InitializeComponent(); _defaultContractorName = defaultContractorName; _contractorService = contractorService; _transactionService = transactionService; _recycleBinService = recycleBinService; }
public void Test() { _service = new ContractorService(_repository, _validator); var ex = Assert.Throws <ContractorNotValidException>(() => _service.AddContractor(new Contractor { Id = Guid.Empty })); Assert.Equal("Contractor id is not set.", ex.Message); }
public ContractorController(IContractorService contractService, IProjectService projectService, IEmployeeService empService, IDropDownSubCategoryService subCategoryService, IVendorService vendorService) { this.contractService = contractService; this.projectService = projectService; this.empService = empService; this.subCategoryService = subCategoryService; this.vendorService = vendorService; }
public PotentialContractorsService(IContractorService contractorService) => _contractorService = contractorService;
public ContractorController(IContractorService contractorService) { _contractorService = contractorService; }
public ContractorServiceTests() { _service = new ContractorService(_iRepo.Object); }
public ContractorControllerTest() { _validator = new AddContractorValidator(); _repository = new InMemoryContractorRepository(); _service = new ContractorService(_repository, _validator); }
public ContractorsController(IContractorService contractorService) { this.contractorService = contractorService; }
public ContractorController(IRequestService reqService, ILocationService locService, IContractorService contractorService) { _requestService = reqService; _locationService = locService; _contractorService = contractorService; }
public ContractorController(IContractor principal, IContractorService service) { _service = service; _principal = principal; }