public WorkPlaceService(IWorkPlaceRepository workRepo, IDutyRepository dutyRepo, IProjectRepository projRepo, IResumeRepository resumeRepo, IResumeManagerRepository managerRepo) { _workPlaceRepository = workRepo; _dutyRepository = dutyRepo; _projectRepository = projRepo; _resumeRepository = resumeRepo; _managerRepository = managerRepo; }
public CategoryViewComponent( ICategoryRepository categoryRepository, IDutyRepository dutyRepository, IAmmountOfDoneDutiesArchiveRepository ammountOfDoneDutiesArchiveRepository) { _categoryRepository = categoryRepository; _dutyRepository = dutyRepository; _ammountOfDoneDutiesArchiveRepository = ammountOfDoneDutiesArchiveRepository; }
public DutyController(IDutyRepository dutyRepository, IEmployeeRepository employeeRepository, DataContext context, IMapper mapper) { _dutyRepository = dutyRepository; _employeeRepository = employeeRepository; _context = context; _mapper = mapper; }
public HomeController(IDutyRepository dutyRepository, ICategoryRepository categoryRepository, IDbContextService dbContextService, ICurrentWeekService currentWeekService, IAmmountOfDoneDutiesArchiveRepository ammountOfDoneDutiesArchiveRepository, IOverdueDutyRepository overdueDutyRepository) { _overdueDutyRepository = overdueDutyRepository; _dutyRepository = dutyRepository; _dbContextService = dbContextService; _categoryRepository = categoryRepository; _currentWeekService = currentWeekService; _ammountOfDoneDutiesArchiveRepository = ammountOfDoneDutiesArchiveRepository; }
public ChangeDayViewComponent(IDutyRepository dutyRepository) { _dutyRepository = dutyRepository; }
public DayViewComponent(IDutyRepository dutyRepository, ICategoryRepository categoryRepository) { _categoryRepository = categoryRepository; _dutyReposiotory = dutyRepository; }
public RemoveUserFromDutyCommandHandler(IDutyRepository dutyRepository) { this.dutyRepository = dutyRepository ?? throw new ArgumentNullException(nameof(dutyRepository)); }
public AddDutyEntryCommandHandler(IDutyRepository dutyRepository) { this.dutyRepository = dutyRepository ?? throw new ArgumentNullException(nameof(dutyRepository)); }
public DutyService(IDutyRepository dutyRepository, IUserRepository <IApplicationUser> userRepository) { _dutyRepository = dutyRepository; _userRepository = userRepository; }
public DutyService(IDutyRepository dRepo) { dutyRepository = dRepo; }
//TODO: Delete this constructor after implementing DI. public DutyService() { dutyRepository = new DutyRepository(); }
public CreateDutyCommandHandler(IDutyRepository dutyRepository) { _dutyRepository = dutyRepository; }
public CategoryController(ICategoryRepository categoryRepository, IDutyRepository dutyRepository, IDbContextService dbContextService) { _dbContextService = dbContextService; _dutyRepository = dutyRepository; _categoryRepository = categoryRepository; }