public RegisterLibraryModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger <RegisterModel> logger,
     IEmailSender emailSender,
     ISendMail sendMail,
     ApplicationDbContext context,
     IViewBooksService homeService)
 {
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.logger        = logger;
     this.sendMail      = sendMail;
     this.emailSender   = emailSender;
     this.context       = context;
     this.homeService   = homeService;
 }
示例#2
0
        public BaseController(
            IViewBooksService homeService,
            IViewBookService viewBookService,
            IAllLibrariesService allLibraryService,
            IRoleService roleService,
            INotificationService notificationService,
            IGenreService genreService,
            UserManager <ApplicationUser> userManager,
            SignInManager <ApplicationUser> signInManager,
            ILogger <LogoutModel> logger,
            IHostingEnvironment hostingEnvironment)
        {
            this.notificationService = notificationService;
            this.genreService        = genreService;
            this.userManager         = userManager;
            this.signInManager       = signInManager;
            this.logger             = logger;
            this.hostingEnvironment = hostingEnvironment;

            this.homeService       = homeService;
            this.viewBookService   = viewBookService;
            this.allLibraryService = allLibraryService;
            this.roleService       = roleService;
        }
示例#3
0
 public HomeController(IViewLibraryService viewLibraryService, IViewBooksService homeService, IViewBookService viewBookService, IAllLibrariesService allLibraryService, IRoleService roleService, INotificationService notificationService, IGenreService genreService, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, ILogger <LogoutModel> logger, IHostingEnvironment hostingEnvironment) : base(homeService, viewBookService, allLibraryService, roleService, notificationService, genreService, userManager, signInManager, logger, hostingEnvironment)
 {
     this.viewLibraryService = viewLibraryService;
 }
示例#4
0
 public SettingsController(ISettingsService settingsService, IDeletableEntityRepository <Setting> repository, IViewBooksService homeService, IViewBookService viewBookService, IAllLibrariesService allLibraryService, IRoleService roleService, INotificationService notificationService, IGenreService genreService, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, ILogger <LogoutModel> logger, IHostingEnvironment hostingEnvironment) : base(homeService, viewBookService, allLibraryService, roleService, notificationService, genreService, userManager, signInManager, logger, hostingEnvironment)
 {
     this.settingsService = settingsService;
     this.repository      = repository;
 }