Esempio n. 1
0
 public ContactController(IContactContext ctx, ILogger <ContactController> logger, IMapper mapper, IConfiguration config)
 {
     _config = config;
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _ctx    = ctx ?? throw new ArgumentNullException(nameof(ctx));
 }
Esempio n. 2
0
 public ContactRepository(IContactContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }
Esempio n. 3
0
 public ContactsController(IContactContext db)
 {
     _db = db;
 }
 public MongoContactApplyRequestRepository(IContactContext contactContext)
 {
     _contactContext = contactContext;
 }
Esempio n. 5
0
 public BaseController(IContactContext contactContext, IApplicationDbContext applicationDbContext, IMapper mapper)
 {
     Context = contactContext;
     _applicationDbContext = applicationDbContext;
     Mapper = mapper;
 }
Esempio n. 6
0
 public MongoContactRepository(IContactContext contactContext)
 {
     _contactContext = contactContext;
 }
Esempio n. 7
0
 public DictController(IContactContext <Contact> db)
 {
     this.db = db;
 }
Esempio n. 8
0
 public ContactRepository(IContactContext _contactContext, ReportRabbitMQProducer _reportProducer)
 {
     contactContext = _contactContext;
     reportProducer = _reportProducer;
 }
Esempio n. 9
0
 public SkillsController(IContactContext context, IApplicationDbContext applicationDbContext, IMapper mapper) : base(context, applicationDbContext, mapper)
 {
 }