public CatelogController(ILibraryAsset assets, ICheckout checkout)
 {
     _assets   = assets;
     _checkout = checkout;
 }
Exemplo n.º 2
0
 public CatalogController(ILibraryAsset assets, IMapper mapper)
 {
     _assets = assets;
     _mapper = mapper;
 }
 public CatalogController(ILibraryAsset LibraryAsset, ICheckout ICheckout, IPatron IPatron)
 {
     _ILibraryAsset = LibraryAsset;
     _ICheckout     = ICheckout;
     _IPatron       = IPatron;
 }
Exemplo n.º 4
0
 public CatalogController(ILibraryAsset libraryAsset, ICheckout checkout)
 {
     this.libraryAsset = libraryAsset;
     this.checkout     = checkout;
 }
Exemplo n.º 5
0
 public void Add(ILibraryAsset newAsset)
 {
     _context.Add(newAsset);
     _context.SaveChanges();
 }
Exemplo n.º 6
0
 public CatalogController(ILibraryAsset asset, ICheckOut checkOut)
 {
     _asset    = asset;
     _checkOut = checkOut;
 }
Exemplo n.º 7
0
 public CatalogController(ILibraryAsset asset)
 {
     _asset = asset;
 }
Exemplo n.º 8
0
 public bool ExportPossible(ILibraryAsset libraryItem) => true;
Exemplo n.º 9
0
 public CatalogController(ILibraryAsset assets, ICheckout checkouts)//injectam in constructor cele 2 interfete
 {
     _assets    = assets;
     _checkouts = checkouts;
 }
 public CatalogController(ILibraryAsset assets, ICheckout checkouts) // inject _asset and _checkout into the constructor
 {
     _assets    = assets;
     _checkouts = checkouts;
 }
Exemplo n.º 11
0
 public CatalogController(ILibraryAsset asset, ICheckOut checkout)
 {
     _interface         = asset;
     _checkOutInterface = checkout;
 }
 public CatalogController(ILibraryAsset assets, ICheckOut checkOut)
 {
     _assetServices    = assets;
     _checkoutsService = checkOut;
 }
 public CatalogController(ILibraryAsset libraryAsset)
 {
     this.libraryAsset = libraryAsset;
 }
Exemplo n.º 14
0
 //let's pass into constructor ILibraryAsset Interface:
 public CatalogController(ILibraryAsset assets, ICheckout checkouts)
 {
     // so we have access to the rest of the controllers:
     _assets    = assets;
     _checkouts = checkouts;
 }
        private LibraryContext _context; //creating datacontext instance



        public CatalogController(ILibraryAsset assets, ICheckout checkouts, LibraryContext context)
        {
            _assets    = assets;
            _checkouts = checkouts;
            _context   = context;
        }
 public CatalogController(ILibraryAsset assets, ICheckout checkouts, IPatron patrons)
 {
     _assets    = assets;
     _checkouts = checkouts;
     _patrons   = patrons;
 }
Exemplo n.º 17
0
 public VideoController(ILibraryAsset libraryAsset)
 {
     _libraryAsset = libraryAsset;
 }
Exemplo n.º 18
0
 public CatalogController(ILibraryAsset _assets, ICheckout _checkouts)
 {
     assets    = _assets;
     checkouts = _checkouts;
 }
Exemplo n.º 19
0
 public CatalogController(ILibraryAsset libraryAsset)
 {
     _assets = libraryAsset;
 }
Exemplo n.º 20
0
 public CatalogController(ILibraryAsset assets, ICheckout checkouts)
 {
     _assets    = assets;
     _checkouts = checkouts;
 }
 public CatalogController(ILibraryAsset assets, ICheckout checkouts)
 {
     this.assets    = assets;
     this.checkouts = checkouts;
 }
Exemplo n.º 22
0
 public CatalogController(ILibraryAsset assets)
 {
     _assets = assets;
 }
Exemplo n.º 23
0
 public CatalogController(ILibraryAsset assets, ICheckout checkouts)
 {
     //Initialize services
     _assets    = assets;
     _checkouts = checkouts;
 }