Пример #1
0
 public UpdateTicket(ITicketRepository ticketRepository, ITicketAttributionRepository ticketAttributionRepository,
                     UpdateTicketInput input, long userId)
 {
     this.ticketRepository            = ticketRepository;
     this.ticketAttributionRepository = ticketAttributionRepository;
     Input       = input;
     this.userId = userId;
 }
 public GetTicketsAttributedToUser(IUserRepository userRepository, ITicketAttributionRepository ticketAttributionRepository, ITicketRepository ticketRepository, ITicketCommentRepository ticketCommentRepository, long userId)
 {
     this.userRepository = userRepository;
     this.ticketAttributionRepository = ticketAttributionRepository;
     this.ticketRepository            = ticketRepository;
     this.ticketCommentRepository     = ticketCommentRepository;
     UserId = userId;
 }
Пример #3
0
 public GetAllTickets(IUserRepository userRepository, ITicketAttributionRepository ticketAttributionRepository,
                      ITicketRepository ticketRepository, ITicketCommentRepository ticketCommentRepository)
 {
     this.userRepository = userRepository;
     this.ticketAttributionRepository = ticketAttributionRepository;
     this.ticketRepository            = ticketRepository;
     this.ticketCommentRepository     = ticketCommentRepository;
 }
Пример #4
0
 public GetTicketsOfPlace(IUserRepository userRepository, ITicketAttributionRepository ticketAttributionRepository, ITicketRepository ticketRepository, ITicketCommentRepository ticketCommentRepository, long placeId)
 {
     this.userRepository = userRepository;
     this.ticketAttributionRepository = ticketAttributionRepository;
     this.ticketRepository            = ticketRepository;
     this.ticketCommentRepository     = ticketCommentRepository;
     PlaceId = placeId;
 }
Пример #5
0
 public GetTicketsWithState(ITicketRepository ticketRepository, IUserRepository userRepository,
                            ITicketAttributionRepository ticketAttributionRepository,
                            ITicketCommentRepository ticketCommentRepository, int state)
 {
     this.ticketRepository            = ticketRepository;
     this.userRepository              = userRepository;
     this.ticketAttributionRepository = ticketAttributionRepository;
     this.ticketCommentRepository     = ticketCommentRepository;
     State = state;
 }
Пример #6
0
 public TicketController(ITicketRepository ticketRepository, IUserRepository userRepository,
                         ITicketAttributionRepository ticketAttributionRepository,
                         ITicketCommentRepository ticketCommentRepository, ITicketWareRepository ticketWareRepository)
 {
     repository          = ticketRepository;
     this.userRepository = userRepository;
     this.ticketAttributionRepository = ticketAttributionRepository;
     this.ticketCommentRepository     = ticketCommentRepository;
     this.ticketWareRepository        = ticketWareRepository;
 }
Пример #7
0
 public GetTicketsOpenedByUser(ITicketRepository ticketRepository, IUserRepository userRepository,
                               ITicketAttributionRepository ticketAttributionRepository,
                               ITicketCommentRepository ticketCommentRepository, long userId)
 {
     this.ticketRepository = ticketRepository;
     UserId = userId;
     this.userRepository = userRepository;
     this.ticketAttributionRepository = ticketAttributionRepository;
     this.ticketCommentRepository     = ticketCommentRepository;
 }
Пример #8
0
 public GetTicketsWithPaging(ITicketRepository ticketRepository, IUserRepository userRepository,
                             ITicketAttributionRepository ticketAttributionRepository,
                             ITicketCommentRepository ticketCommentRepository, int page, int amount)
 {
     this.ticketRepository            = ticketRepository;
     this.userRepository              = userRepository;
     this.ticketAttributionRepository = ticketAttributionRepository;
     this.ticketCommentRepository     = ticketCommentRepository;
     Page   = page;
     Amount = amount;
 }
Пример #9
0
 public GetTicketById(ITicketRepository ticketRepository,
                      ITicketAttributionRepository ticketAttributionRepository,
                      IUserRepository userRepository,
                      ITicketCommentRepository ticketCommentRepository, long id)
 {
     this.ticketRepository            = ticketRepository;
     this.ticketAttributionRepository = ticketAttributionRepository;
     this.userRepository          = userRepository;
     this.ticketCommentRepository = ticketCommentRepository;
     Id = id;
 }
Пример #10
0
 public DeleteTicket(ITicketRepository ticketRepository,
                     ITicketCommentRepository ticketCommentRepository,
                     ITicketAttributionRepository ticketAttributionRepository,
                     ITicketWareRepository ticketWareRepository, long id)
 {
     this.ticketRepository            = ticketRepository;
     this.ticketCommentRepository     = ticketCommentRepository;
     this.ticketAttributionRepository = ticketAttributionRepository;
     Id = id;
     this.ticketWareRepository = ticketWareRepository;
 }
Пример #11
0
 public DeleteTicketAttribution(ITicketAttributionRepository ticketAttributionRepository, long id)
 {
     this.ticketAttributionRepository = ticketAttributionRepository;
     Id = id;
 }
Пример #12
0
 public GetAllTicketAttributions(ITicketAttributionRepository ticketAttributionRepository)
 {
     this.ticketAttributionRepository = ticketAttributionRepository;
 }
 public TicketAttributionController(ITicketAttributionRepository repository)
 {
     this.repository = repository;
 }
Пример #14
0
 public CreateTicketAttribution(ITicketAttributionRepository ticketAttributionRepository, domain.TicketAttribution ticketAttribution)
 {
     this.ticketAttributionRepository = ticketAttributionRepository;
     TicketAttribution = ticketAttribution;
 }
 public GetTicketAttributionsWithPaging(ITicketAttributionRepository ticketAttributionRepository, int page, int amount)
 {
     this.ticketAttributionRepository = ticketAttributionRepository;
     Page   = page;
     Amount = amount;
 }