public ControlMapper(IUnitOfWork uow) { this.uow = uow; controlNameService = new ControlNameService(uow); employeeLibService = new EmployeeLibService(uow); equipmentLibService = new EquipmentLibService(uow); employeeService = new EmployeeService(uow); imageLibService = new ImageLibService(uow); requirementDocumentationLibService = new RequirementDocumentationLibService(uow); resultLibService = new ResultLibService(uow); controlMethodDocumentationLibService = new ControlMethodDocumentationLibService(uow); }
public BllSelectedControlName MapToBll(DalSelectedControlName entity) { ControlNameService controlNameService = new ControlNameService(uow); var bllControlName = entity.ControlName_id != null?controlNameService.Get((int)entity.ControlName_id) : null; BllSelectedControlName bllEntity = new BllSelectedControlName { Id = entity.Id, ControlName = bllControlName }; return(bllEntity); }
public CertificateMapper(IUnitOfWork uow) { this.uow = uow; controlNameService = new ControlNameService(uow); employeeService = new EmployeeService(uow); }
public ControlMethodDocumentationMapper(IUnitOfWork uow) { this.uow = uow; controlNameService = new ControlNameService(uow); }