public UserAssignPageController(IPageAssignService pageAssignService, LAFDbContext db, IModuleAssignService moduleAssignService
                                 , IUserInfoes userInfoes, RoleManager <IdentityRole> roleManager, UserManager <ApplicationUser> userManager)
 {
     this.pageAssignService   = pageAssignService;
     this.userInfoes          = userInfoes;
     this.moduleAssignService = moduleAssignService;
     _roleManager             = roleManager;
     _userManager             = userManager;
     _db = db;
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 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 LostAndFoundTypeService(LAFDbContext context)
 {
     _context = context;
 }
 public UserInfoesService(LAFDbContext context, RoleManager <IdentityRole> roleManager)
 {
     _context         = context;
     this.roleManager = roleManager;
 }
Exemplo n.º 6
0
 public ElectronicService(LAFDbContext context)
 {
     _context = context;
 }
 public AttachmentTypeService(LAFDbContext context)
 {
     _context = context;
 }
 public EmailSenderService(IConfiguration configuration, LAFDbContext context)
 {
     _configuration = configuration;
     _context       = context;
 }
 public OtherDocumentService(LAFDbContext context)
 {
     _context = context;
 }
 public NavbarService(LAFDbContext context, RoleManager <IdentityRole> roleManager, UserManager <ApplicationUser> userManager)
 {
     _context     = context;
     _roleManager = roleManager;
     _userManager = userManager;
 }
Exemplo n.º 11
0
 public AddressInformationService(LAFDbContext context)
 {
     _context = context;
 }
 public FilterRoleService(LAFDbContext _context)
 {
     this._context = _context;
 }
Exemplo n.º 13
0
 public Repository(LAFDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Exemplo n.º 14
0
 public LoggedinUser(UserManager <ApplicationUser> userManage, RoleManager <IdentityRole> roleManager, LAFDbContext context)
 {
     _userManage  = userManage;
     _roleManager = roleManager;
     _context     = context;
 }
Exemplo n.º 15
0
 public ExtendedMasterDataService(LAFDbContext context)
 {
     _context = context;
 }
Exemplo n.º 16
0
 public AddressCategoryService(LAFDbContext context)
 {
     _context = context;
 }
 public ModuleAssignService(LAFDbContext context)
 {
     _context = context;
 }
 public AddressService(LAFDbContext context)
 {
     _context = context;
 }
 public PageAssignService(LAFDbContext context)
 {
     _context = context;
 }