public ProjectUserReqService(IProjectUserReqRepository projectUserReqRepository,
                              IUserRepository userRepository,
                              IRoleRepository roleRepository,
                              IProjectRepository projectRepository,
                              IUnitOfWork uow,
                              IMapper mapper)
 {
     _projectUserReqRepository = projectUserReqRepository;
     _userRepository           = userRepository;
     _roleRepository           = roleRepository;
     _projectRepository        = projectRepository;
     _uow    = uow;
     _mapper = mapper;
 }
Exemple #2
0
 public TicketService(ITicketRepository ticketRepository,
                      IProjectRepository projectRepository,
                      IUserRepository userRepository,
                      IProjectUserReqRepository projectUserReqRepository,
                      ITicketStatusRepository ticketStatusRepository,
                      IUnitOfWork uow,
                      ITicketHistoryRepository ticketHistoryRepository,
                      IMapper mapper)
 {
     _ticketRepository         = ticketRepository;
     _projectRepository        = projectRepository;
     _userRepository           = userRepository;
     _projectUserReqRepository = projectUserReqRepository;
     _ticketStatusRepository   = ticketStatusRepository;
     _uow = uow;
     _ticketHistoryRepository = ticketHistoryRepository;
     _mapper = mapper;
 }