public BookWishListsController(IBookDomainService bookService, IWishListDomainService wishListService, IBookWishListDomainService bookWishListService) { _bookService = bookService; _wishListService = wishListService; _bookWishListService = bookWishListService; }
public UserDomainService(ILibraryDomainService libraryService, IWishListDomainService wishListService, IBookDomainService bookService) { database = new AppDbContext(); users = database.User.Include(user => user.Account).Include(user => user.WishList) .Include(user => user.Library).AsNoTracking().ToList(); _libraryService = libraryService; _wishListService = wishListService; _bookService = bookService; }