public TicketController(ITicketHistoryRepository HistoryRepos, IAccountRepository AccountRepos, IGenericUsageRepositoryInterface URepository, ITicketRepository TicketRepository, IUserRepository UserRepos, IZoneRepository ZoneRepos) { _ticketRepository = TicketRepository; _UserRepository = UserRepos; _zoneRepos = ZoneRepos; _UsageRepos = URepository; _AccountRepository = AccountRepos; _ticketHistoryRepository = HistoryRepos; }
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; }
public TicketHistoryController(ITicketHistoryRepository ticketHistoryRepository, IMapper mapper) { _ticketHistoryRepository = ticketHistoryRepository; _mapper = mapper; }