public AccountController(IHostingEnvironment hostingEnvironment, UserManager <ApplicationUser> userManager, LAFDbContext db, SignInManager <ApplicationUser> signInManager, RoleManager <IdentityRole> roleManager, IUserInfoes userInfoes, IFilterRoleService filterRoleService) { _userManager = userManager; _signInManager = signInManager; _roleManager = roleManager; _db = db; this.userInfoes = userInfoes; this.filterRoleService = filterRoleService; //this.emailSenderService = emailSenderService; _langRegister = new LangGenerate <RegisterLn>(hostingEnvironment.ContentRootPath); _langOTPCode = new LangGenerate <OTPVarifiedLn>(hostingEnvironment.ContentRootPath); }
public MasterInformationController(ILostAndFoundType lostAndFoundType, IHostingEnvironment hostingEnvironment) { this.lostAndFoundType = lostAndFoundType; _hostingEnvironment = hostingEnvironment; _lang = new LangGenerate <DocumentTypeLn>(_hostingEnvironment.ContentRootPath); _gLang = new LangGenerate <GDTypeLn>(_hostingEnvironment.ContentRootPath); _aLang = new LangGenerate <AnimalLn>(_hostingEnvironment.ContentRootPath); _cLang = new LangGenerate <ColorLn>(_hostingEnvironment.ContentRootPath); _nLang = new LangGenerate <NationalIdentityTypeLn>(_hostingEnvironment.ContentRootPath); _pLang = new LangGenerate <ProductTypeLn>(_hostingEnvironment.ContentRootPath); _oLang = new LangGenerate <OccupationLn>(_hostingEnvironment.ContentRootPath); }
public HomeController(IPageAssignService pageAssignService, INavbarService navbarService, ILostAndFoundType lostAndFoundType, LAFDbContext db, IModuleAssignService moduleAssignService, ILostAndFoundService lostAndFoundService, UserManager <ApplicationUser> userManager, IHostingEnvironment _hostingEnvironment, IConverter converter) { this.pageAssignService = pageAssignService; this.navbarService = navbarService; this.moduleAssignService = moduleAssignService; this.lostAndFoundType = lostAndFoundType; this.lostAndFoundService = lostAndFoundService; _userManager = userManager; _db = db; this._hostingEnvironment = _hostingEnvironment; _lang = new LangGenerate <DashboardLn>(_hostingEnvironment.ContentRootPath); _sLang = new LangGenerate <SearchLn>(_hostingEnvironment.ContentRootPath); myPDF = new MyPDF(_hostingEnvironment, converter); rootPath = _hostingEnvironment.ContentRootPath; }
public SorothalReportController(IHostingEnvironment hostingEnvironment) { this.hostingEnvironment = hostingEnvironment; _lang = new LangGenerate <SorothalLangViewModel>(hostingEnvironment.ContentRootPath); }
public SearchController(IHostingEnvironment hostingEnvironment) { _hostingEnvironment = hostingEnvironment; _lang = new LangGenerate <SearchLn>(_hostingEnvironment.ContentRootPath); }
public PublicUserController(IHostingEnvironment hostingEnvironment, ILostAndFoundType lostAndFoundType) { _langRegister = new LangGenerate <RegisterLn>(hostingEnvironment.ContentRootPath); this.lostAndFoundType = lostAndFoundType; }
public VehicleInformationController(IHostingEnvironment _hostingEnvironment, ILostAndFoundType lostAndFoundType) { this.lostAndFoundType = lostAndFoundType; this._hostingEnvironment = _hostingEnvironment; _lang = new LangGenerate <VehicleInformationLn>(_hostingEnvironment.ContentRootPath); }