Ejemplo n.º 1
0
        public LibraryController(
            IAddBookService addBookService,
            INotificationService notificationService,
            IAllAddedBooksService allAddedBooksServices,
            IGiveBookService giveBookService,
            IGivenBooksService givenBooksService,
            IUserService userService,
            IGenreService genreService,
            ITakenBooksService takenBooksService,
            UserManager <ApplicationUser> userManager,
            SignInManager <ApplicationUser> signInManager,
            ILogger <LogoutModel> logger,
            IHostingEnvironment hostingEnvironment)
        {
            this.addBookService        = addBookService;
            this.notificationService   = notificationService;
            this.allAddedBooksServices = allAddedBooksServices;
            this.genreService          = genreService;
            this.giveBookService       = giveBookService;
            this.givenBooksService     = givenBooksService;

            this.userService = userService;

            this.userManager        = userManager;
            this.signInManager      = signInManager;
            this.logger             = logger;
            this.hostingEnvironment = hostingEnvironment;
        }
Ejemplo n.º 2
0
 public GiveBookService(ApplicationDbContext context,
                        IUserService userService,
                        INotificationService notificationService,
                        IAllAddedBooksService allBooksServices)
 {
     this.context             = context;
     this.userService         = userService;
     this.notificationService = notificationService;
     this.allBooksServices    = allBooksServices;
 }
Ejemplo n.º 3
0
 public ViewLibraryService(
     ApplicationDbContext context,
     IGenreService genreService,
     INotificationService messageService,
     IRoleService roleService,
     IAllAddedBooksService allAddedBooksService)
 {
     this.context              = context;
     this.genreService         = genreService;
     this.messageService       = messageService;
     this.roleService          = roleService;
     this.allAddedBooksService = allAddedBooksService;
 }
 public AllAddedBooksController(IAddBookService addBookService, INotificationService notificationService, IAllAddedBooksService allAddedBooksServices, IGiveBookService giveBookService, IGivenBooksService givenBooksService, IUserService userService, IGenreService genreService, ITakenBooksService takenBooksService, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, ILogger <LogoutModel> logger, IHostingEnvironment hostingEnvironment) : base(addBookService, notificationService, allAddedBooksServices, giveBookService, givenBooksService, userService, genreService, takenBooksService, userManager, signInManager, logger, hostingEnvironment)
 {
 }