Example #1
0
 public TimesheetController(ILogger <TimesheetController> logger, IMapper mapper, IMediator mediator, ITimesheetRepository repository)
 {
     _mapper              = mapper;
     _mediator            = mediator;
     _timeSheetRepository = repository;
     _logger              = logger;
 }
Example #2
0
 public TimesheetController(ITimesheetRepository timesheetRepository,
                            IUserRepository userRepository,
                            IEmailService emailService)
 {
     _timesheetRepository = timesheetRepository;
     _userRepository      = userRepository;
     _emailService        = emailService;
 }
Example #3
0
 public TimeExtensionService(
     IAzureDevOpsService azureDevOpsService,
     ITimesheetRepository timesheetRepository,
     IActivityTypeRepository activityTypeRepository)
 {
     _azureDevOpsService     = azureDevOpsService ?? throw new ArgumentNullException(nameof(azureDevOpsService));
     _timesheetRepository    = timesheetRepository ?? throw new ArgumentNullException(nameof(timesheetRepository));
     _activityTypeRepository = activityTypeRepository ?? throw new ArgumentNullException(nameof(activityTypeRepository));
 }
 public UserController(UserManager <ApplicationUser> userManager, RoleManager <IdentityRole <Guid> > roleManager,
                       ApplicationContext context, IMapper mapper, IMediator mediator, ITimesheetRepository repository)
 {
     _userManager         = userManager;
     _roleManager         = roleManager;
     _timeSheetRepository = repository;
     _context             = context;
     _mapper   = mapper;
     _mediator = mediator;
 }
Example #5
0
        public LabourDetailsController(ApplicationContext context, ITimesheetService tss, IEmailService emailService, IDocumentService docService,
                                       ITimesheetRepository repository, IConfiguration configuration)
        {
            _context             = context;
            _timesheetService    = tss;
            _timeSheetRepository = repository;
            _emailService        = emailService;
            _documentService     = docService;
            _configuration       = configuration;

            Rates = _context.LabourRate.ToList();
        }
 public TimesheetService(
     ITimesheetRepository timesheetRepository,
     IUnitOfWork unitOfWork,
     ILogger <TimesheetService> logger,
     ICurrentUserService currentUserService,
     IEmployeeRepository employeeRepository,
     UserManager <ApplicationUser> userManager)
 {
     _timesheetRepository = timesheetRepository ?? throw new ArgumentNullException(nameof(timesheetRepository));
     _unitOfWork          = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     _logger             = logger ?? throw new ArgumentNullException(nameof(logger));
     _currentUserService = currentUserService ?? throw new ArgumentNullException(nameof(currentUserService));
     _employeeRepository = employeeRepository ?? throw new ArgumentNullException(nameof(employeeRepository));
     _userManager        = userManager ?? throw new ArgumentNullException(nameof(userManager));
 }
 public TimesheetsController(ITimesheetRepository timesheetRepository, IMapper mapper)
 {
     _timesheetRepository = timesheetRepository;
     _mapper = mapper;
 }
Example #8
0
 public TimesheetService(ITimesheetRepository timesheetRepository)
 {
     _timesheetRepository = timesheetRepository;
 }
Example #9
0
 public TimesheetService(ITimesheetRepository timesheetRepo)
 {
     _timesheetRepo = timesheetRepo;
 }
Example #10
0
 public TimesheetsController(ITimesheetRepository timesheetRepository)
 {
     _timesheetRepository = timesheetRepository;
 }
 public UserController(ITimesheetRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }
 public TimesheetController(IRepositoryFactory factory, IMapper mapper)
 {
     timesheetRepo = factory.CreateTimesheetRepository();
     this.mapper   = mapper;
 }
 public TimesheetService(ITimesheetRepository timesheetRepository, IProfileRepository profileRepository, IUserService userService)
 {
     _timesheetRepository = timesheetRepository;
     _profileRepository   = profileRepository;
     _userService         = userService;
 }
 public TimesheetController(ILogger <TimesheetController> logger, ITimesheetRepository timesheetRepository)
 {
     _logger = logger;
     _timesheetRepository = timesheetRepository;
 }
Example #15
0
 public TimesheetService(ITimesheetRepository tsr, UserManager <ApplicationUser> userManager)
 {
     _repository  = tsr;
     _userManager = userManager;
 }
Example #16
0
 public ReportService(ITimesheetRepository timesheetRepository, IAuthService authService)
 {
     _timesheetRepository = timesheetRepository;
     _authService         = authService;
 }
Example #17
0
 public ReportService(ITimesheetRepository timesheetRepository, IEmployeeRepository employeeRepository)
 {
     _timesheetRepository = timesheetRepository;
     _employeeRepository  = employeeRepository;
 }
Example #18
0
 public TimesheetController(ITimesheetRepository timesheetRepository,
                            ISessionService sessionService)
 {
     _timesheetRepository = timesheetRepository;
     _sessionService      = sessionService;
 }
        //private readonly IRepository<Holiday>

        public TimesheetAppService(ITimesheetRepository repository)
        {
            _repository = repository;
        }
 public TimeBookingController(ITimesheetRepository repostitory)
 {
     this.repostitory = repostitory;
 }
Example #21
0
 public TimesheetClient(ITimesheetRepository timesheetRepository, AutoMapper.IMapper mapper, IDateHelper dateHelper)
 {
     _timesheetRepository = timesheetRepository;
     _mapper     = mapper;
     _dateHelper = dateHelper;
 }
 public TasksController(ITimesheetRepository repository)
 {
     _repository = repository;
 }
Example #23
0
 public GraphController(ApplicationContext context, ITimesheetRepository repository, ITimesheetService timesheetService)
 {
     _repository       = repository;
     _context          = context;
     _timesheetService = timesheetService;
 }