public HomeController(LakeLabDbContext context, ValueStorage vs, DeviceStorage ds, UserManager <AppUser> um) { _dbContext = context; _valueStorage = vs; _deviceStorage = ds; _userManager = um; }
public apiController(LakeLabDbContext context, LoggingDbContext logginContext, ValueStorage vs, DeviceStorage ds) { _dbContext = context; _loggingDbContext = logginContext; _valueStorage = vs; _deviceStorage = ds; }
public AdminController(UserManager <AppUser> usrMgr, IUserValidator <AppUser> userValid, IPasswordValidator <AppUser> passValid, IPasswordHasher <AppUser> passwordHash, LakeLabDbContext dbContext, DeviceStorage deviceStorage) { _userManager = usrMgr; _userValidator = userValid; _passwordValidator = passValid; _passwordHasher = passwordHash; _dbContext = dbContext; _deviceStorage = deviceStorage; }
public SensorsController(LakeLabDbContext dbContext) { _dbContext = dbContext; }
/// <summary> /// Constructor /// </summary> /// <param name="context">DbContext provided by Dependency Injection.</param> public ValueStorage(LakeLabDbContext context, DeviceStorage ds) { _dbContext = context; _deviceStorage = ds; }
public DeviceStorage(LakeLabDbContext context) { _dbContext = context; }
public DevicesController(LakeLabDbContext context, AppIdentityDbContext identityDbContext, DeviceStorage deviceStorage) { _dbContext = context; _identityDbContext = identityDbContext; _deviceStorage = deviceStorage; }