public LibraryAccountController( IBookService bookService, IMessageService messageService, IGenreService genreService, IAllBooksServices getAllBooks, SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager, IGiveBookService giveBookService, IUserService userService, IGivenBooksService givenBooksService, ILogger <LogoutModel> logger, ILibraryProfileService libraryProfileService, IStatsLibraryService statsLibraryService, IIndexLibraryService indexLibraryService, IHostingEnvironment hostingEnvironment, IProfileChakerService profilChekerService) { this.bookService = bookService; this.messageService = messageService; this.genreService = genreService; this.getAllBooks = getAllBooks; this.userManager = userManager; this.giveBookService = giveBookService; this.userService = userService; this.givenBooksService = givenBooksService; this.signInManager = signInManager; this.logger = logger; this.libraryProfileService = libraryProfileService; this.statsLibraryService = statsLibraryService; this.indexLibraryService = indexLibraryService; this.hostingEnvironment = hostingEnvironment; this.profilChekerService = profilChekerService; }
public GiveBookService(ApplicationDbContext context, IUserService userService, IMessageService messageService, IAllBooksServices allBooksServices) { this.context = context; this.userService = userService; this.messageService = messageService; this.allBooksServices = allBooksServices; }