public ShopProductsController(IShopModel shopModel, IShopProductsMainForm shopProductsForm)
 {
     this.shopModel        = shopModel;
     this.shopProductsForm = shopProductsForm;
     controllers           = new List <IBaseController>();
     Initialize();
 }
Example #2
0
 public DeleteController(IShopModel shopModel, IDeleteControl deleteControl)
 {
     this.shopModel     = shopModel;
     this.deleteControl = deleteControl;
     Initialize();
 }
Example #3
0
 public MainController(IShopModel shopModel)
 {
     ShopModel   = shopModel;
     controllers = new List <IBaseController>();
 }
Example #4
0
 public CartController(IShopModel shopModel, ICartControl cartControl)
 {
     this.shopModel   = shopModel;
     this.cartControl = cartControl;
     Initialize();
 }
 public UpdateController(IShopModel shopModel, IUpdateControl updateControl)
 {
     this.shopModel     = shopModel;
     this.updateControl = updateControl;
     Initialize();
 }
Example #6
0
 public SelectController(IShopModel shopModel, ISelectControl selectControl)
 {
     this.shopModel     = shopModel;
     this.selectControl = selectControl;
     Initialize();
 }
 public InsertController(IShopModel shopModel, IInsertControl insertControl)
 {
     this.shopModel     = shopModel;
     this.insertControl = insertControl;
     Initialize();
 }
Example #8
0
 public LoginController(IShopModel shopModel, ILoginForm loginForm)
 {
     this.shopModel = shopModel;
     this.loginForm = loginForm;
     Initialize();
 }
 public RegisterController(IShopModel shopModel, IRegisterForm registerForm)
 {
     this.shopModel    = shopModel;
     this.registerForm = registerForm;
     Initialize();
 }