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;
 }
Exemple #4
0
 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;
 }
Exemple #6
0
 public DayViewComponent(IDutyRepository dutyRepository, ICategoryRepository categoryRepository)
 {
     _categoryRepository = categoryRepository;
     _dutyReposiotory    = dutyRepository;
 }
 public RemoveUserFromDutyCommandHandler(IDutyRepository dutyRepository)
 {
     this.dutyRepository = dutyRepository ?? throw new ArgumentNullException(nameof(dutyRepository));
 }
Exemple #8
0
 public AddDutyEntryCommandHandler(IDutyRepository dutyRepository)
 {
     this.dutyRepository = dutyRepository ?? throw new ArgumentNullException(nameof(dutyRepository));
 }
Exemple #9
0
 public DutyService(IDutyRepository dutyRepository, IUserRepository <IApplicationUser> userRepository)
 {
     _dutyRepository = dutyRepository;
     _userRepository = userRepository;
 }
Exemple #10
0
 public DutyService(IDutyRepository dRepo)
 {
     dutyRepository = dRepo;
 }
Exemple #11
0
 //TODO: Delete this constructor after implementing DI.
 public DutyService()
 {
     dutyRepository = new DutyRepository();
 }
Exemple #12
0
 public CreateDutyCommandHandler(IDutyRepository dutyRepository)
 {
     _dutyRepository = dutyRepository;
 }
 public CategoryController(ICategoryRepository categoryRepository, IDutyRepository dutyRepository, IDbContextService dbContextService)
 {
     _dbContextService   = dbContextService;
     _dutyRepository     = dutyRepository;
     _categoryRepository = categoryRepository;
 }