Exemple #1
0
 //Create constructor that allows IProductDAL to be passed in
 public ProductController(IProductSqlDAL dal)
 {
     this.dal = dal;
 }
Exemple #2
0
 public ShoppingListController(IShoppingListDAL dal, IProductSqlDAL productDal)
 {
     this.dal        = dal;
     this.productDal = productDal;
 }