public AuthController(UserManager<AppUser> userManager, IJwtFactory jwtFactory, IOptions<JwtIssuerOptions> jwtOptions,
 IProfilesRepository profileRepo, ICompaniesRepository companiesRepository, IConsultantsRepository consultantsRepository,
 IJobsRepository jobsRepository, ILocalEventsRepository localEventsRepository)
 {
     _userManager = userManager;
     _jwtFactory = jwtFactory;
     _jwtOptions = jwtOptions.Value;
     _profileRepo = profileRepo;
     _companiesRepository = companiesRepository;
     _consultantsRepository = consultantsRepository;
     _jobsRepository = jobsRepository;
     _localEventsRepository = localEventsRepository;
     _jobsRepository = jobsRepository;
 }
 public ConsultantsController()
 {
     _repository = new InMemoryConsultantsRepository();
 }
Example #3
0
 public ConsultantsController()
 {
     this.consultantRepo = new ConsultantsRepository(new PlusBContext());
 }
Example #4
0
 public ConsultantsAuthorizationManager(IConsultantsRepository repository)
 {
     _repository = repository;
 }
 public AuthorizationManager(IConsultantsRepository repository)
 {
     _repository = repository; ;
 }
 public AuthorizationManager()
 {
     _repository = new InMemoryConsultantsRepository();
 }
Example #7
0
 public Consultants(IConsultantsRepository repository)
 {
     People = repository.GetConsultants();
 }
 public ConsultantsController()
 {
     _repository = new InMemoryConsultantsRepository();
 }
 public ConsultantsController(IConsultantsRepository consultantsRepository, IEmailService emailService, IBlobStorage blobStorage)
 {
     _consultantsRepository = consultantsRepository;
     _emailService          = emailService;
     _blobStorage           = blobStorage;
 }