コード例 #1
0
 public LostFoundController(ILostAndFoundType lostAndFoundType, ILostAndFoundService lostAndFoundService, UserManager <ApplicationUser> userManager, IOtherDocumentService otherDocumentService, IAddressInformationService addressInformationService)
 {
     this.lostAndFoundType          = lostAndFoundType;
     this.lostAndFoundService       = lostAndFoundService;
     this.otherDocumentService      = otherDocumentService;
     this.addressInformationService = addressInformationService;
     _userManager = userManager;
 }
コード例 #2
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;
 }
コード例 #3
0
 public OthersItemController(ILostAndFoundService lostAndFoundService, UserManager <ApplicationUser> userManager, IOtherDocumentService otherDocumentService)
 {
     this.lostAndFoundService  = lostAndFoundService;
     this.otherDocumentService = otherDocumentService;
     _userManager = userManager;
 }