示例#1
0
 public TicketOfUserController(
     ITicketService TicketService,
     ITicketStatusService TicketStatusService,
     IAppUserService AppUserService,
     IOrganizationService OrganizationService,
     ITicketOfUserService TicketOfUserService,
     ICurrentContext CurrentContext
     , IHttpContextAccessor httpContextAccessor, DataContext _DataContext
     ) : base(httpContextAccessor, _DataContext)
 {
     this.TicketService       = TicketService;
     this.TicketStatusService = TicketStatusService;
     this.AppUserService      = AppUserService;
     this.OrganizationService = OrganizationService;
     this.TicketOfUserService = TicketOfUserService;
     this.CurrentContext      = CurrentContext;
 }
示例#2
0
 public TicketService(
     IUOW UOW,
     ILogging Logging,
     ICurrentContext CurrentContext,
     ITicketValidator TicketValidator,
     ITicketGeneratedIdService TicketGeneratedIdService,
     ITicketOfUserService TicketOfUserService,
     INotificationService NotificationService,
     IOrganizationService OrganizationService,
     IRabbitManager RabbitManager
     )
 {
     this.UOW                      = UOW;
     this.Logging                  = Logging;
     this.CurrentContext           = CurrentContext;
     this.TicketValidator          = TicketValidator;
     this.TicketGeneratedIdService = TicketGeneratedIdService;
     this.TicketOfUserService      = TicketOfUserService;
     this.NotificationService      = NotificationService;
     this.RabbitManager            = RabbitManager;
     this.OrganizationService      = OrganizationService;
 }