예제 #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;
 }