Example #1
0
 public UserManagerAuthentication(
     ILogger <UserManagerAuthentication> logger,
     TicketingDbContext dbContext,
     IRequestTrace requestTrace)
 {
     _logger       = logger;
     _dbContext    = dbContext;
     _requestTrace = requestTrace;
 }
 public ClientValidation(TicketingDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Example #3
0
 public StatisticService(TicketingDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Example #4
0
 public StorageService(TicketingDbContext dbContext)
 {
     _dbContext = dbContext;
 }
 public StaffMemberService(TicketingDbContext dbContext, IStaffMemberValidation employeeValidation)
 {
     _dbContext       = dbContext;
     _staffValidation = employeeValidation;
 }
 public UserRepository(TicketingDbContext context, IMapper mapper, IUnitOfWork unitOfWork)
 {
     _context    = context;
     _mapper     = mapper;
     _unitOfWork = unitOfWork;
 }
Example #7
0
 public IssueTypeService(TicketingDbContext ticketingDbContext)
 {
     this.ticketingDbContext = ticketingDbContext;
 }
Example #8
0
 public TicketingQueryDatabase(TicketingDbContext context)
 {
     _context = context;
 }
Example #9
0
 public TicketService(TicketingDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Example #10
0
 public StaffMemberValidation(TicketingDbContext dbContext)
 {
     _dbContext = dbContext;
 }
 protected BaseRepository(ITicketingDbContextFactory contextFactory)
 {
     _context = contextFactory.GetContext();
     _dbSet   = _context.Set <T>();
     _now     = DateTime.Now;
 }
Example #12
0
 public TicketingDbContext GetContext()
 {
     return(_context ?? (_context = new TicketingDbContext(_connectionString)));
 }
Example #13
0
 public TicketService(TicketingDbContext ticketingDbContext)
 {
     this.ticketingDbContext = ticketingDbContext;
 }
Example #14
0
 public ReplyService(TicketingDbContext dbContext)
 {
     _dbContext = dbContext;
 }
 public IssueSeverityService(TicketingDbContext ticketingDbContext)
 {
     this.ticketingDbContext = ticketingDbContext;
 }
 public ProductService(TicketingDbContext dbContext, IProductValidation productValidation)
 {
     _dbContext         = dbContext;
     _productValidation = productValidation;
 }
 public UnitOfWork(ITicketingDbContextFactory contextFactory)
 {
     _context = contextFactory.GetContext();
 }
Example #18
0
 public ProductValidation(TicketingDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Example #19
0
 public UserRepository(TicketingDbContext context, IBus bus)
     : base(context, bus)
 {
     _context = context;
 }
 public ResolutionStatusService(TicketingDbContext ticketingDbContext)
 {
     this.ticketingDbContext = ticketingDbContext;
 }
Example #21
0
 public StorageValidation(TicketingDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Example #22
0
 public ClientService(TicketingDbContext dbContext,
                      IClientValidation clientValidation)
 {
     _dbContext        = dbContext;
     _clientValidation = clientValidation;
 }