public Initializer(CareersDbContext context, IClientService clientService, ISpecialistService specialistService, UserManager <AppUser> userManager) { this.context = context; this.clientService = clientService; this.specialistService = specialistService; this.userManager = userManager; }
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); }
public QuestionService(CareersDbContext context) { this.context = context; }
public LocationService(CareersDbContext context) { _context = context; }
public SpecialistService(CareersDbContext context) { this.context = context; }
public LanguageService(CareersDbContext context) { _context = context; }
public CategoryService(CareersDbContext context) { this.context = context; }
public AnswerService(CareersDbContext context) { _context = context; }
public OrderSercice(CareersDbContext context) { this.context = context; }
public ClientService(CareersDbContext context) { this.context = context; }
public MessageService(CareersDbContext context) { _context = context; }
public MeetingPointService(CareersDbContext context) { this.context = context; }
public ReviewService(CareersDbContext context) { _context = context; }