public AssignmentsApiController(Club club, IAssignmentQuery assignmentQuery, IAssignmentService assignmentService, IMemberQuery memberQuery) { this.club = club; this.assignmentQuery = assignmentQuery; this.assignmentService = assignmentService; this.memberQuery = memberQuery; }
public AssignmentController(IAssignmentService assignmentService, UserManager <AppUser> userManager, ITeamService teamService, ICompanyService companyService) { _assignmentService = assignmentService; _userManager = userManager; _teamService = teamService; _companyService = companyService; }
public SpecialistController(ISpecialistService specialistService, IAssignorService assignorService, IAssignmentService assignmentService, IMapper mapper) { this.specialistService = specialistService; this.assignorService = assignorService; this.assignmentService = assignmentService; this.mapper = mapper; }
public CoursesController(IAssignmentService assignmentService, ICourseService courseService, UserManager <User> userManager, IStudentsEnrolledInCourseService studentsEnrolledInCourseService) { this.assignmentService = assignmentService; this.courseService = courseService; this.userManager = userManager; this.studentsEnrolledInCourseService = studentsEnrolledInCourseService; }
public SubmissionAPIShortMapper(IStudentAPIMapper studentAPIMapper, IAssignmentAPIMapper assignmentAPIMapper, IStudentService studentService, IAssignmentService assignmentService) { _iStudentService = studentService; _iAssignmentService = assignmentService; _iStudentAPIMapper = studentAPIMapper; _iAssignmentAPIMapper = assignmentAPIMapper; }
public UserManagementService(IUserService userService, IUserAssociationService userAssociationService, IAssignmentService assignmentService, ILocationService locationService) { m_userService = userService; m_userAssociationService = userAssociationService; m_assignmentService = assignmentService; m_locationService = locationService; }
public ProfileController(IProjectService projectService, IAssignmentService assignmentService, ApplicationUserManager userManager, ApplicationSignInManager signInManager) { this._projectService = projectService; this._assignmentService = assignmentService; this._userManager = userManager; this._signInManager = signInManager; }
public AssignmentAPIShortMapper(ILaboratoryAPIMapper laboratoryAPIMapper, ILaboratoryService laboratoryService, IAssignmentService assignmentService, IAssignmentMapper assignmentMapper) { _iAssignmentService = assignmentService; _iAssignmentMapper = assignmentMapper; _iLaboratoryService = laboratoryService; _iLaboratoryAPIMapper = laboratoryAPIMapper; }
public CreateController(IStudentService studentService, ITeacherService teacherService, ICourseService courseService, IAssignmentService assignmentService) { _studentService = studentService; _teacherService = teacherService; _courseService = courseService; _assignmentService = assignmentService; }
public ATaskController(UserManager <AppUser> userManager, IAssignmentService assignmentService, ITaskService taskService, ICompanyService companyService) { _userManager = userManager; _assignmentService = assignmentService; _taskService = taskService; _companyService = companyService; }
public FieldServiceApi(IAssignmentService assignmentService, IOcupabilityService ocupabilityService, IOcupabilityThroughTimeService ocupabilityThroughTimeService) { if (assignmentService == null) { throw new ArgumentNullException(nameof(assignmentService)); } _assignmentService = assignmentService; if (ocupabilityService == null) { throw new ArgumentNullException(nameof(ocupabilityService)); } _ocupabilityService = ocupabilityService; if (ocupabilityThroughTimeService == null) { throw new ArgumentNullException(nameof(ocupabilityThroughTimeService)); } _ocupabilityThroughTimeService = ocupabilityThroughTimeService; }
public SubmissionMapper(IAssignmentMapper assignmentMapper, IStudentMapper studentMapper, IStudentService studentService, IAssignmentService assignmentService) { _iAssignmentMapper = assignmentMapper; _iStudentMapper = studentMapper; _iStudentService = studentService; _iAssignmentService = assignmentService; }
public UnitTest1() { IServiceCollection services = new ServiceCollection(); services.AddApplicationServices(); services.AddTransient <AssignmentController>(); services.AddTransient <InvoiceController>(); services.AddTransient <EmployeeController>(); services.AddTransient <CustomerController>(); services.AddTransient <PaymentController>(); services.AddTransient <PayoutController>(); _autofacContainer = services.AddAutofacContainer(); _serviceProvider = new AutofacServiceProvider(_autofacContainer); _queryProcessor = _serviceProvider.GetService <IQueryProcessor>(); _assignmentService = _serviceProvider.GetService <IAssignmentService>(); _paymentService = _serviceProvider.GetService <IPaymentService>(); _assignmentController = _serviceProvider.GetService <AssignmentController>(); _invoiceController = _serviceProvider.GetService <InvoiceController>(); _employeeController = _serviceProvider.GetService <EmployeeController>(); _customerController = _serviceProvider.GetService <CustomerController>(); _paymentController = _serviceProvider.GetService <PaymentController>(); _payoutController = _serviceProvider.GetService <PayoutController>(); }
public TaskController( IAssignmentService assignmentService, UserManager <AppUser> userManager, IWorkModelFactory workModelFactory) : base(userManager) { _assignmentService = assignmentService; _workModelFactory = workModelFactory; }
public UserAssignmentController(IAssignmentService iAllAssignments, IUserAssignmentService userAssignment, UserManager <User> userManager, Microsoft.Extensions.Configuration.IConfiguration configuration) { _Assignment = iAllAssignments; _userManager = userManager; _UserAssignment = userAssignment; _configuration = configuration; }
public TestRunController(ITestRunConverter testRunConverter, ITestRunService testRunService, IAssignmentService assignmentService) { _testRunConverter = testRunConverter; _testRunService = testRunService; _assignmentService = assignmentService; }
public CreateCommentCommand(Repository repository, IAssignmentService assignmentService, IProjectService projectService, INotificationService notificationService) { this.repository = repository; this.assignmentService = assignmentService; this.projectService = projectService; this.notificationService = notificationService; }
public ExerciseController(IAssignmentService assignmentService, IExerciseRepository exerciseRepository, IExerciseConverter exerciseConverter) { _assignmentService = assignmentService; _exerciseRepository = exerciseRepository; _exerciseConverter = exerciseConverter; }
public AssignmentController(IAssignmentService assignmentService, ApplicationUserManager userManager) { Guard.WhenArgument(assignmentService, "assignmentService").IsNull().Throw(); Guard.WhenArgument(userManager, "userManager").IsNull().Throw(); this.userManager = userManager; this.assignmentService = assignmentService; }
public ManagerController(ApplicationUserManager userManager, IAssignmentService assignmentService, IDictionaryService dictionaryService, ISprintService sprintService, IProjectService projectService) { this._userManager = userManager; this._assignmentService = assignmentService; this._dictionaryService = dictionaryService; this._sprintService = sprintService; this._projectService = projectService; }
/// <summary> /// Constructor. /// </summary> public BaseAssignmentController( BaseControllerArgs args, IClassroomService classroomService, IAssignmentService assignmentService) : base(args, classroomService) { AssignmentService = assignmentService; }
public CreateAssignmentCommand(Repository repository, IProjectService projectService, IAssignmentService assignmentService, IUserService userService) { this.repository = repository; this.projectService = projectService; this.assignmentService = assignmentService; this.userService = userService; }
public CommonController(IRepository <Feature> featureRepository, IRepository <PointMeterLineItem> pointMeterLineItemRepository, IRepository <Core.Domain.Asset> assetRepository, IRepository <Location> locationRepository, IRepository <Store> storeRepository, IRepository <WorkOrder> workOrderRepository, IRepository <ServiceRequest> serviceRequestRepository, IRepository <Site> siteRepository, IRepository <StoreLocator> storeLocatorRepository, IRepository <StoreLocatorItem> storeLocatorItemRepository, IRepository <AssignmentHistory> assignmentHistoryRepository, IRepository <Assignment> assignmentRepository, IRepository <User> userRepository, IRepository <Address> addressRepository, IRepository <SLADefinition> slaDefinitionRepository, IValueItemService valueItemService, ILocationService locationService, IMeterGroupService meterGroupService, IAssignmentService assignmentService, ISiteService siteService, ILogger logger, IDateTimeHelper dateTimeHelper, IWorkContext workContext, ILocalizationService localizationService, DapperContext dapperContext, HttpContextBase httpContext, IDbContext dbContext, GeneralSettings generalSettings) { this._featureRepository = featureRepository; this._pointMeterLineItemRepository = pointMeterLineItemRepository; this._assetRepository = assetRepository; this._locationRepository = locationRepository; this._storeRepository = storeRepository; this._workOrderRepository = workOrderRepository; this._serviceRequestRepository = serviceRequestRepository; this._siteRepository = siteRepository; this._storeLocatorRepository = storeLocatorRepository; this._storeLocatorItemRepository = storeLocatorItemRepository; this._assignmentHistoryRepository = assignmentHistoryRepository; this._assignmentRepository = assignmentRepository; this._userRepository = userRepository; this._addressRepository = addressRepository; this._slaDefinitionRepository = slaDefinitionRepository; this._valueItemService = valueItemService; this._locationService = locationService; this._meterGroupService = meterGroupService; this._assignmentService = assignmentService; this._siteService = siteService; this._logger = logger; this._dateTimeHelper = dateTimeHelper; this._workContext = workContext; this._localizationService = localizationService; this._dapperContext = dapperContext; this._httpContext = httpContext; this._dbContext = dbContext; this._generalSettings = generalSettings; }
public AssignmentVm() { _assignmentService = ServiceLocator.Current.GetInstance <IAssignmentService>(); _timer = new Timer(TimeSpan.FromSeconds(1), () => { SelectedActivity.Duration = SelectedActivity.Duration.Add(TimeSpan.FromSeconds(1)); TimerChanged?.Invoke(this, EventArgs.Empty); }); }
public AssignmentBuilderController(IAssignmentService assignmentService, IQuestionBankDocument questionBankDocument, ICompetencyService competencyService, IQuestionBankService questionBankService,ISkillSetService skillSetService) { _assignmentService = assignmentService; _questionBankDocument = questionBankDocument; _competencyService = competencyService; _questionBankService = questionBankService; // this._skillSetDocument = skillSetDocument; _skillSetService = skillSetService; }
public AssignmentController( IAssignmentService assignmentService, IAssignmentModelFactory assignmentModelFactory, IExigencyService exigencyService) { _assignmentService = assignmentService; _assignmentModelFactory = assignmentModelFactory; _exigencyService = exigencyService; }
public HomeController( IStudentService studentService, ITeacherService teacherService, ICourseService courseService, IAssignmentService assignmentService) { _studentDb = studentService; _teacherDb = teacherService; _courseDb = courseService; _assignmentDb = assignmentService; }
public PDistributorController(IPDistributorService pdisService, IRepresentativeService repService, IAccountService accountService, IStaffService staffService, IAssignmentService assigmentService) { this._pdistributorService = pdisService; _representativeService = repService; _accountService = accountService; _staffService = staffService; _assigmentService = assigmentService; }
/// <summary> /// Constructor. /// </summary> public AssignmentQuestionController( BaseControllerArgs args, IClassroomService classroomService, IAssignmentService assignmentService, IAssignmentQuestionService assignmentQuestionService) : base(args, classroomService, assignmentService) { AssignmentQuestionService = assignmentQuestionService; }
public InvoiceController(IAssignmentService assignmentService, IDbService <Adjustment> adjustmentService, IDbService <Invoice> invoiceService, IDbService <InvoiceAttachment> invoiceAttachmentService, IDbService <Attachment> attachmentService, IDbService <Customer> customerService, IUnitOfWork uow) { _assignmentService = assignmentService; _invoiceService = invoiceService; _invoiceAttachmentService = invoiceAttachmentService; _attachmentService = attachmentService; _customerService = customerService; _adjustmentService = adjustmentService; _uow = uow; }
public HomeController( IAssignmentService assignmentService, INotificationService notificationService, UserManager <AppUser> userManager, IReportService reportService) : base(userManager) { _assignmentService = assignmentService; _notificationService = notificationService; _reportService = reportService; }
/// <summary> /// Constructor. /// </summary> public AssignmentController( BaseControllerArgs args, IClassroomService classroomService, IAssignmentService assignmentService, ISectionService sectionService, IQuestionService questionService, IUserService userService) : base(args, classroomService) { AssignmentService = assignmentService; SectionService = sectionService; QuestionService = questionService; UserService = userService; }
public AssignmentViewModel () { AvailableStatuses = new AssignmentStatus [] { AssignmentStatus.Hold, AssignmentStatus.Active, AssignmentStatus.Complete, }; service = ServiceContainer.Resolve<IAssignmentService> (); timer = new Timer (1000); #if !NETFX_CORE //This causes our timer to fire it's events on the UI thread timer.SynchronizingObject = ServiceContainer.Resolve<ISynchronizeInvoke> (); #endif timer.Elapsed += (sender, e) => { CurrentHours = currentHours.Add (TimeSpan.FromSeconds (1)); Hours = hours.Add (TimeSpan.FromSeconds (1)); }; }
public void SetUp () { Database.Initialize (CancellationToken.None).Wait (); service = new SampleAssignmentService (); }
public HistoryViewModel () { service = ServiceContainer.Resolve<IAssignmentService> (); }
public PhotoViewModel () { service = ServiceContainer.Resolve<IAssignmentService> (); }
public AssignmentsController(IProjectService projectService, IAssignmentService assignmentService, IDictionaryService dictionaryService) { _assignmentService = assignmentService; _dictionaryService = dictionaryService; _projectService = projectService; }
public ExpenseViewModel () { service = ServiceContainer.Resolve<IAssignmentService> (); }