public UsersService( UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, HiringGenieDbContext context, IConfiguration configuration ) { _userManager = userManager; _signInManager = signInManager; _configuration = configuration; _context = context; }
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IHostingEnvironment env, HiringGenieDbContext dbContext) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } else { // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. app.UseHsts(); } app.UseAuthentication(); app.UseHttpsRedirection(); app.UseOpenApi(); app.UseSwaggerUi3(); app.UseCors(MyAllowSpecificOrigins); app.UseMvc(); }
public ApplicationsService(HiringGenieDbContext context, IInterviewsService interviewsService) { _dbContext = context; _interviewsService = interviewsService; }
public JobsService(HiringGenieDbContext context) { _dbContext = context; }
public SchedulersService(HiringGenieDbContext context, IInterviewsService interviewsService) { _dbContext = context; _interviewsService = interviewsService; }
public InterviewsService(HiringGenieDbContext context) { _dbContext = context; }