Exemple #1
0
 public BookLibrariesController(IBookDomainService bookService, ILibraryDomainService libraryService,
                                IBookLibraryDomainService bookLibraryService)
 {
     _bookService        = bookService;
     _libraryService     = libraryService;
     _bookLibraryService = bookLibraryService;
 }
Exemple #2
0
 public BookWishListsController(IBookDomainService bookService, IWishListDomainService wishListService,
                                IBookWishListDomainService bookWishListService)
 {
     _bookService         = bookService;
     _wishListService     = wishListService;
     _bookWishListService = bookWishListService;
 }
Exemple #3
0
 public CloudBookListManager(
     IBookDomainService book,
     IBookListCellDomainService bookListCell,
     IBookListDomainService bookList)
 {
     _book         = book;
     _bookListCell = bookListCell;
     _bookList     = bookList;
 }
Exemple #4
0
        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;
        }
Exemple #5
0
 public BookAppService(IBookDomainService book, ICloudBookListManager manager, IRepository <Book, long> repository) : base(repository)
 {
     _book    = book;
     _manager = manager;
 }
Exemple #6
0
 public BooksController(IBookDomainService bookService)
 {
     _bookService = bookService;
 }