protected override void Initialize(RequestContext requestContext) { if (Repositary == null) { Repositary = new ProductRepositary(); } base.Initialize(requestContext); }
public HomeController(IProductRepositary _db) { db = _db; }
public ProductBL() { repositary = new ProductRepositary(); }
public InfoController(IProductRepositary _db) { db = _db; }
public CartController(IProductRepositary _db) { db = _db; }
public NavController(IProductRepositary _db) { db = _db; }