public SpecificationService( ISpecificationRepo specificationRepo, IMarkRepo markRepo) { _repository = specificationRepo; _markRepo = markRepo; }
public AttachedDocService( IAttachedDocRepo attachedDocRepo, IMarkRepo markRepo) { _repository = attachedDocRepo; _markRepo = markRepo; }
public BoltDocumentService( IMarkRepo markRepo, IBoltLengthRepo boltLengthRepo, IConstructionBoltRepo constructionBoltRepo) { _markRepo = markRepo; _boltLengthRepo = boltLengthRepo; _constructionBoltRepo = constructionBoltRepo; }
public StandardConstructionService( IStandardConstructionRepo standardConstructionRepo, IMarkRepo markRepo, ISpecificationRepo specificationRepo) { _repository = standardConstructionRepo; _markRepo = markRepo; _specificationRepo = specificationRepo; }
public MarkLinkedDocService( IMarkLinkedDocRepo markLinkedDocRepo, IMarkRepo markRepo, ILinkedDocRepo linkedDocRepo) { _repository = markLinkedDocRepo; _markRepo = markRepo; _linkedDocRepo = linkedDocRepo; }
public MarkApprovalService( IMarkApprovalRepo markApprovalRepo, IMarkRepo markRepo, IEmployeeRepo employeeRepo) { _repository = markApprovalRepo; _markRepo = markRepo; _employeeRepo = employeeRepo; }
public EstimateTaskService( IEstimateTaskRepo estimateTaskRepo, IMarkRepo markRepo, IEmployeeRepo employeeRepo) { _repository = estimateTaskRepo; _markRepo = markRepo; _employeeRepo = employeeRepo; }
public EstimationPagesDocumentService( IMarkRepo markRepo, IEmployeeRepo employeeRepo, IOptions <AppSettings> appSettings) { _markRepo = markRepo; _employeeRepo = employeeRepo; _appSettings = appSettings.Value; }
public ConstructionBoltService( IConstructionBoltRepo constructionBoltRepo, IMarkRepo markRepo, IConstructionRepo constructionRepo, IBoltDiameterRepo boltDiameterRepo) { _repository = constructionBoltRepo; _markRepo = markRepo; _constructionRepo = constructionRepo; _boltDiameterRepo = boltDiameterRepo; }
public MarkGeneralDataPointService( IMarkGeneralDataPointRepo markGeneralDataPointRepo, IMarkRepo markRepo, IGeneralDataSectionRepo generalDataSectionRepo, IGeneralDataPointRepo generalDataPointRepo) { _repository = markGeneralDataPointRepo; _markRepo = markRepo; _generalDataSectionRepo = generalDataSectionRepo; _generalDataPointRepo = generalDataPointRepo; }
public DocService( IDocRepo docRepo, IMarkRepo markRepo, IEmployeeRepo employeeRepo, IDocTypeRepo docTypeRepo) { _repository = docRepo; _markRepo = markRepo; _employeeRepo = employeeRepo; _docTypeRepo = docTypeRepo; }
public AdditionalWorkService( IAdditionalWorkRepo additionalWorkRepo, IMarkRepo markRepo, IEmployeeRepo employeeRepo, IDocRepo docRepo) { _repository = additionalWorkRepo; _markRepo = markRepo; _employeeRepo = employeeRepo; _docRepo = docRepo; }
public ConstructionElementService( IConstructionElementRepo constructionElementRepo, IMarkRepo markRepo, IConstructionRepo constructionRepo, IProfileRepo profileRepo, ISteelRepo steelRepo) { _repository = constructionElementRepo; _markRepo = markRepo; _constructionRepo = constructionRepo; _profileRepo = profileRepo; _steelRepo = steelRepo; }
public MarkService( IMarkRepo markRepo, ISubnodeRepo subnodeRepo, IDepartmentRepo departmentRepo, IEmployeeRepo employeeRepo, ISpecificationService specificationService) { _repository = markRepo; _subnodeRepo = subnodeRepo; _departmentRepo = departmentRepo; _employeeRepo = employeeRepo; _specificationService = specificationService; }
public void DeletetMark_ShouldReturnOk() { //Arrange testSchoolRegisterContext = new TestSchoolRegisterContext(); markRepo = new MockMarkRepo(testSchoolRegisterContext); marksController = new MarksController(markRepo); PopulateMarkFields(); //Act var actionResult = marksController.DeleteMark(1); // Assert Assert.IsNotNull(actionResult); }
public ConstructionService( IConstructionRepo constructionRepo, IMarkRepo markRepo, ISpecificationRepo specificationRepo, IConstructionTypeRepo constructionTypeRepo, IConstructionSubtypeRepo constructionSubtypeRepo, IWeldingControlRepo weldingControlRepo) { _repository = constructionRepo; _markRepo = markRepo; _specificationRepo = specificationRepo; _constructionTypeRepo = constructionTypeRepo; _constructionSubtypeRepo = constructionSubtypeRepo; _weldingControlRepo = weldingControlRepo; }
public ConstructionDocumentService( IMarkRepo markRepo, IEmployeeRepo employeeRepo, IConstructionRepo constructionRepo, IStandardConstructionRepo standardConstructionRepo, IConstructionElementRepo constructionElementRepo, IOptions <AppSettings> appSettings) { _markRepo = markRepo; _employeeRepo = employeeRepo; _constructionRepo = constructionRepo; _standardConstructionRepo = standardConstructionRepo; _constructionElementRepo = constructionElementRepo; _appSettings = appSettings.Value; }
public ProjectRegistrationDocumentService( IMarkRepo markRepo, IAttachedDocRepo attachedDocRepo, IConstructionRepo constructionRepo, IStandardConstructionRepo standardConstructionRepo, IConstructionElementRepo constructionElementRepo, IDocService docService, IAdditionalWorkService additionalWorkService) { _markRepo = markRepo; _attachedDocRepo = attachedDocRepo; _constructionRepo = constructionRepo; _standardConstructionRepo = standardConstructionRepo; _constructionElementRepo = constructionElementRepo; _docService = docService; _additionalWorkService = additionalWorkService; }
public MarkService( IMarkRepo markRepo, ISubnodeRepo subnodeRepo, IDepartmentRepo departmentRepo, IEmployeeRepo employeeRepo, IEstimateTaskRepo estimateTaskRepo, ISpecificationService specificationService, IMarkGeneralDataPointService markGeneralDataPointService) { _repository = markRepo; _subnodeRepo = subnodeRepo; _departmentRepo = departmentRepo; _employeeRepo = employeeRepo; _estimateTaskRepo = estimateTaskRepo; _specificationService = specificationService; _markGeneralDataPointService = markGeneralDataPointService; }
public DocumentService( IMarkGeneralDataPointRepo markGeneralDataPointRepo, IMarkRepo markRepo, IMarkApprovalRepo markApprovalRepo, IEmployeeRepo employeeRepo, IDocRepo docRepo, IMarkLinkedDocRepo markLinkedDocRepo, IAttachedDocRepo attachedDocRepo) { _markGeneralDataPointRepo = markGeneralDataPointRepo; _markRepo = markRepo; _markApprovalRepo = markApprovalRepo; _employeeRepo = employeeRepo; _docRepo = docRepo; _markLinkedDocRepo = markLinkedDocRepo; _attachedDocRepo = attachedDocRepo; }
public void GetMark_ShouldReturnOk() { //Arrange testSchoolRegisterContext = new TestSchoolRegisterContext(); markRepo = new MockMarkRepo(testSchoolRegisterContext); marksController = new MarksController(markRepo); PopulateMarkFields(); //Act var actionResult = marksController.Get(1); var contentResult = actionResult as OkNegotiatedContentResult <MarkDto>; // Assert Assert.IsNotNull(contentResult); Assert.IsNotNull(contentResult.Content); Assert.AreEqual(1, contentResult.Content.Id); }
public MarkOperatingConditionsService( IMarkOperatingConditionsRepo markOperatingConditionsRepo, IMarkRepo markRepo, IOperatingAreaRepo operatingAreaRepo, IGasGroupRepo gasGroupRepo, IEnvAggressivenessRepo envAggressivenessRepo, IConstructionMaterialRepo constructionMaterialRepo, IPaintworkTypeRepo paintworkTypeRepo, IHighTensileBoltsTypeRepo highTensileBoltsTypeRepo) { _repository = markOperatingConditionsRepo; _markRepo = markRepo; _operatingAreaRepo = operatingAreaRepo; _gasGroupRepo = gasGroupRepo; _envAggressivenessRepo = envAggressivenessRepo; _constructionMaterialRepo = constructionMaterialRepo; _paintworkTypeRepo = paintworkTypeRepo; _highTensileBoltsTypeRepo = highTensileBoltsTypeRepo; }
public GeneralDataDocumentService( IMarkRepo markRepo, IMarkApprovalRepo markApprovalRepo, IEmployeeRepo employeeRepo, IDocRepo docRepo, IMarkGeneralDataPointRepo markGeneralDataPointRepo, IMarkLinkedDocRepo markLinkedDocRepo, IAttachedDocRepo attachedDocRepo, IMarkOperatingConditionsRepo markOperatingConditionsRepo, IOptions <AppSettings> appSettings) { _markRepo = markRepo; _markApprovalRepo = markApprovalRepo; _employeeRepo = employeeRepo; _docRepo = docRepo; _markGeneralDataPointRepo = markGeneralDataPointRepo; _markLinkedDocRepo = markLinkedDocRepo; _attachedDocRepo = attachedDocRepo; _markOperatingConditionsRepo = markOperatingConditionsRepo; _appSettings = appSettings.Value; }
public EstimateTaskDocumentService( IMarkRepo markRepo, IEmployeeRepo employeeRepo, IConstructionRepo constructionRepo, IConstructionElementRepo constructionElementRepo, IStandardConstructionRepo standardConstructionRepo, IMarkOperatingConditionsRepo markOperatingConditionsRepo, IEstimateTaskRepo estimateTaskRepo, IMarkGeneralDataPointRepo markGeneralDataPointRepo, IOptions <AppSettings> appSettings) { _markRepo = markRepo; _employeeRepo = employeeRepo; _constructionRepo = constructionRepo; _constructionElementRepo = constructionElementRepo; _standardConstructionRepo = standardConstructionRepo; _markOperatingConditionsRepo = markOperatingConditionsRepo; _estimateTaskRepo = estimateTaskRepo; _markGeneralDataPointRepo = markGeneralDataPointRepo; _appSettings = appSettings.Value; }
public TeachersController(ITeacherRepo repo, IAttendanceRepo attendanceRepo, IMarkRepo markRepo) { _repo = repo; _attendanceRepo = attendanceRepo; _markRepo = markRepo; }
public EstimationTitleDocumentService( IMarkRepo markRepo) { _markRepo = markRepo; }
public MarksController(IMarkRepo repo) { _repo = repo; }