Пример #1
0
 public Initializer(CareersDbContext context, IClientService clientService, ISpecialistService specialistService, UserManager <AppUser> userManager)
 {
     this.context           = context;
     this.clientService     = clientService;
     this.specialistService = specialistService;
     this.userManager       = userManager;
 }
Пример #2
0
        public void Initialise()
        {
            using var loggerFactory = LoggerFactory.Create(builder => builder.AddConsole());
            _logger = loggerFactory.CreateLogger <DataService>();
            var dbContext = new CareersDbContext();

            dbContext.Database.Migrate();
            _dataService = new DataService(dbContext, _logger);
        }
Пример #3
0
 public QuestionService(CareersDbContext context)
 {
     this.context = context;
 }
Пример #4
0
 public LocationService(CareersDbContext context)
 {
     _context = context;
 }
Пример #5
0
 public SpecialistService(CareersDbContext context)
 {
     this.context = context;
 }
Пример #6
0
 public LanguageService(CareersDbContext context)
 {
     _context = context;
 }
Пример #7
0
 public CategoryService(CareersDbContext context)
 {
     this.context = context;
 }
Пример #8
0
 public AnswerService(CareersDbContext context)
 {
     _context = context;
 }
Пример #9
0
 public OrderSercice(CareersDbContext context)
 {
     this.context = context;
 }
Пример #10
0
 public ClientService(CareersDbContext context)
 {
     this.context = context;
 }
Пример #11
0
 public MessageService(CareersDbContext context)
 {
     _context = context;
 }
Пример #12
0
 public MeetingPointService(CareersDbContext context)
 {
     this.context = context;
 }
Пример #13
0
 public ReviewService(CareersDbContext context)
 {
     _context = context;
 }