// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IHostingEnvironment env, SteppeContext context) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } app.UseCors(builder => builder.AllowAnyHeader().AllowAnyOrigin().AllowAnyMethod()); app.UseAuthentication(); app.UseHttpsRedirection(); app.UseMvc(); SteppeInitializer.Initialize(context); }
public AuthController(UserManager <ApplicationUser> userManager, SteppeContext steppeContext, IConfiguration configuration) { _userManager = userManager; _configuration = configuration; _steppeContext = steppeContext; }
public OrganizationModel(SteppeContext context) { _context = context; }
public UserModel(SteppeContext context) { _context = context; }
public OrganizationController(SteppeContext context) { _context = context; }