public AccountController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, RoleManager <IdentityRole> roleManager, IFactoryRepository factoryRepository, ITechManagerRepository techManagerRepository) { _userManager = userManager; _signInManager = signInManager; _roleManager = roleManager; _factoryRepository = factoryRepository; _techManagerRepository = techManagerRepository; if (RouteData != null) { _tenant = (Tenant)RouteData.Values.SingleOrDefault(r => r.Key == "tenant").Value; } }
public InspectionImportService(AppDbContext appDbContext, IFileProvider fileProvider, IPassionBrandRepository passionBrandRepository, IInspectionRepository inspectionRepository, IFactoryRepository factoryRepository, IFinalWeekRepository finalWeekRepository, ITechManagerRepository techManagerRepository, UserManager <ApplicationUser> userManager) { _fileProvider = fileProvider; _appDbContext = appDbContext; _passionBrandRepository = passionBrandRepository; _inspectionRepository = inspectionRepository; _factoryRepository = factoryRepository; _finalWeekRepository = finalWeekRepository; _techManagerRepository = techManagerRepository; _userManager = userManager; }
public InspectionRepository(AppDbContext appDbContext, ITechManagerRepository techManagerRepository) { _appDbContext = appDbContext; _techManagerRepository = techManagerRepository; }