public PdfController(IInspectionRepository inspectionRepository, IMistakeRepository mistakeRepository, IConverter converter) { _inspectionRepository = inspectionRepository; _mistakeRepository = mistakeRepository; _converter = converter; }
public PropertiesAppService(ILogger <PropertiesAppService> logger, IBlockCycleRepository blockCycleRepository, IInspectionRepository inspectionRepository, IMapper mapper) { _logger = logger; _blockCycleRepository = blockCycleRepository; _inspectionRepository = inspectionRepository; _mapper = mapper; }
public InspectionDetailService(IUnitOfWork unitOfWork, IInspectionDetailRepository inspectionDetailRepository, IInspectionRepository inspectionRepository) { _unitOfWork = unitOfWork; _inspectionDetailRepository = inspectionDetailRepository; _inspectionRepository = inspectionRepository; }
//public InspectionController(DataContext context, IConfiguration config, IMapper mapper) public InspectionController(IInspectionRepository repo, IMapper mapper) { //_context = context; //_config = config; _repo = repo; _mapper = mapper; }
public SendEmailController(IInspectionRepository inspectionRepository, IMistakeRepository mistakeRepository, IEmailRepository emailRepository) { _inspectionRepository = inspectionRepository; _mistakeRepository = mistakeRepository; _emailRepository = emailRepository; }
public ExecuteInspectionViewModel(RouterService router, IInspectionRepository inspectionRepo) { _router = router; _inspectionRepository = inspectionRepo; SaveQuestionListCommand = new RelayCommand(SaveAnswers); BackCommand = new RelayCommand(_router.GoBack); ControlList = new ObservableCollection <IQuestionWrapper>(); }
public InspectionListViewModel() { CurrentDate = GetCurrentMonday(DayOfWeek.Monday); CurrentWeek = CultureInfo.CurrentCulture.Calendar.GetWeekOfYear(CurrentDate, CalendarWeekRule.FirstDay, DayOfWeek.Monday); _inspectionRepository = new InspectionRepository(); NextWeekCommand = new RelayCommand(AddSevenDays); PreviousWeekCommand = new RelayCommand(SubtractSevenDays); WeekSlots = new ScheduleSlotViewModel[7]; FillSchedule(); BackToCurrentWeek = new RelayCommand(ToCurrentWeek); }
private void ConvertInspections() { if (SelectedFestival != null) { _inspectionRepository = new InspectionRepository(); SelectedFestivalInspections = new ObservableCollection <InspectionViewModel>( _inspectionRepository.GetInspections() .Where(e => e.QuestionList.Festival.Id == SelectedFestival.Id) .Select(e => new InspectionViewModel(e)) .ToList()); RaisePropertyChanged("SelectedFestivalInspections"); } }
public InspectionMutation(IInspectionRepository inspectionRepository) { Field <InspectionType>( "CreateInspection", arguments: new QueryArguments( new QueryArgument <NonNullGraphType <InspectionInputType> > { Name = "newInspection", Description = "New contract to be added" }), resolve: context => { var contract = context.GetArgument <Inspection>("newInspection"); return(inspectionRepository.Create(contract)); }); }
public LinkInspectorViewModel(IUserRepository userRepository, IInspectionRepository inspectionRepository, RouterService router) { _inspectionRepository = inspectionRepository; _userRepository = userRepository; _router = router; SelectedInspectors = new ObservableCollection <Employee>(); UnSelectedInspectors = new ObservableCollection <Employee>(); AddCommand = new RelayCommand(Add, () => UnSelectedInspector != null); RemoveCommand = new RelayCommand(Remove, () => SelectedInspector != null); SaveCommand = new RelayCommand(Save); CancelCommand = new RelayCommand(_router.GoBack); }
public InspectionImportService(AppDbContext appDbContext, IFileProvider fileProvider, IPassionBrandRepository passionBrandRepository, IInspectionRepository inspectionRepository, IFactoryRepository factoryRepository, IFinalWeekRepository finalWeekRepository, ITechManagerRepository techManagerRepository, UserManager <ApplicationUser> userManager) { _fileProvider = fileProvider; _appDbContext = appDbContext; _passionBrandRepository = passionBrandRepository; _inspectionRepository = inspectionRepository; _factoryRepository = factoryRepository; _finalWeekRepository = finalWeekRepository; _techManagerRepository = techManagerRepository; _userManager = userManager; }
public InspectionFacade(IVision visionService, IMeasurement measurementService, IInspectionRepository inspectionRepository) { this.measurementService = measurementService; this.inspectionRepository = inspectionRepository; this.visionService = visionService; }
public InspectionController(IInspectionRepository repository) { _repository = repository; }
public InspectionAppService(IInspectionRepository inspectionRepository, IMapper mapper) { _inspectionRepository = inspectionRepository; _mapper = mapper; }
public InspectionBusiness(IInspectionRepository inspectionRepository) { _inspectionRepository = inspectionRepository; }
public HomeController(IDashboardRepository dashboardRepository, UserManager <ApplicationUser> userManager, IInspectionRepository inspectionRepository) { _dashboardRepository = dashboardRepository; _userManager = userManager; _inspectionRepository = inspectionRepository; }
public UnitOfWork(DbContext context, IInspectionRepository inspection, IInspectorRepository inspector) { _context = context; Inspection = inspection; Inspector = inspector; }
public EmployeeConsumer(IInspectionRepository inspectionRepository) { _inspectionRepository = inspectionRepository; }
public CarConsumer(IInspectionRepository inspectionRepository) { _inspectionRepository = inspectionRepository; }
public InspectionService(IInspectionRepository licenseRepository, IUnitOfWork unitOfWork) { this._inspectionRepository = licenseRepository; this._unitOfWork = unitOfWork; }
public InspectionService(IInspectionRepository inspectionRepository) { _inspectionRepository = inspectionRepository; }