Esempio n. 1
0
 public WholeSaleController(IWholesaleHandler wholeSaleManager) =>
Esempio n. 2
0
 public WholeSaleController(IWholesaleHandler wholeSaleManager)
 {
     _wholesaleHandler = wholeSaleManager ?? throw new ArgumentNullException(nameof(_wholesaleHandler));
 }
Esempio n. 3
0
 public CsvHelper(IBrandHandler brand, IWholesaleHandler WholesaleHandler, ICategoryHandler catagory)
 {
     _brand            = brand ?? throw new ArgumentNullException(nameof(_brand));
     _wholesaleHandler = WholesaleHandler ?? throw new ArgumentNullException(nameof(_wholesaleHandler));
     _category         = catagory ?? throw new ArgumentNullException(nameof(_category));
 }