public IndexModel( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, SCManagerDbContext dbContext, ICloudinaryService cloudinaryService) { _userManager = userManager; _signInManager = signInManager; _dbContext = dbContext; _cloudinaryService = cloudinaryService; }
protected BaseTest() { var configuration = new ConfigurationBuilder() .AddJsonFile("appsettings.json") .Build(); var options = new DbContextOptionsBuilder(); options.UseSqlServer(configuration.GetConnectionString("SCManagerDbConnection")); SCManagerDbContext = new SCManagerDbContext(options.Options); }
public UserComponentTypeService(SCManagerDbContext context) { _context = context; }
public StaticSiteInfoService(SCManagerDbContext context) { _context = context; }
public ComponentTypeDetailService(SCManagerDbContext context) { _context = context; }
public UnitMultiplierService(SCManagerDbContext context) { _context = context; }