protected override void Initialize(RequestContext requestContext)
 {
     if (Repositary == null)
     {
         Repositary = new ProductRepositary();
     }
     base.Initialize(requestContext);
 }
示例#2
0
 public HomeController(IProductRepositary _db)
 {
     db = _db;
 }
示例#3
0
 public ProductBL()
 {
     repositary = new ProductRepositary();
 }
示例#4
0
 public InfoController(IProductRepositary _db)
 {
     db = _db;
 }
示例#5
0
 public CartController(IProductRepositary _db)
 {
     db = _db;
 }
示例#6
0
 public NavController(IProductRepositary _db)
 {
     db = _db;
 }