public ProductsController( ProductService productService, IShareThingsUserManager userManager) { this._productService = productService; this._userManager = userManager; }
public ProductService( IProductRepository repository, IShareThingsUserManager userManager, IDocumentService documentService) { this._repository = repository; this._userManager = userManager; this._photoService = new PhotoService(documentService); }
public BorrowsController( ProductService productService, BorrowService borrowService, IShareThingsUserManager userManager) { this._productService = productService; this._borrowService = borrowService; this._userManager = userManager; }
public BorrowService( IProductRepository productRepository, IBorrowRepository borrowRepository, IShareThingsUserManager userManager) { this._productRepository = productRepository; this._borrowRepository = borrowRepository; this._userManager = userManager; }