public ProductsController(
     ProductService productService,
     IShareThingsUserManager userManager)
 {
     this._productService = productService;
     this._userManager    = userManager;
 }
Example #2
0
 public ProductService(
     IProductRepository repository,
     IShareThingsUserManager userManager,
     IDocumentService documentService)
 {
     this._repository   = repository;
     this._userManager  = userManager;
     this._photoService = new PhotoService(documentService);
 }
Example #3
0
 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;
 }