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