public CategoryController(
     IMapper mapper,
     ICategoryBL categoryBL)
 {
     _mapper     = mapper;
     _categoryBL = categoryBL;
 }
 public NewCategoryRadForm(RadForm form, StateForm state)
 {
     InitializeComponent();
     this.state = state;
     this._serviceCategoryBL = new CategoryBL();
     this._currentParentForm = form;
 }
예제 #3
0
        public CategoryRadForm()
        {
            InitializeComponent();
            this.WindowState = FormWindowState.Normal;

            this.FormBorderStyle = FormBorderStyle.FixedSingle;
            this.SetSizeScreen(SizeOfScreen.WIDTH, SizeOfScreen.HEIGHT);
            _serviceCategoryBL = new CategoryBL();
        }
        public NewProductRadForm(ProductRadForm currentParentForm, StateForm stateForm)
        {
            InitializeComponent();
            this._stateForm                       = stateForm;
            this._serviceProductBL                = new ProductBL();
            this._serviceCategoryBL               = new CategoryBL();
            this._serviceUnitBL                   = new UnitBL();
            this._serviceTaxBL                    = new TaxBL();
            this._currentParentForm               = currentParentForm;
            this.CategoryIDComboBox.DataSource    = this._serviceCategoryBL.GetCategories();
            this.CategoryIDComboBox.DisplayMember = "CategoryName";
            this.CategoryIDComboBox.ValueMember   = "CategoryID";

            this.UnitIDComboBox.DataSource    = this._serviceUnitBL.Sp_GetUnits();
            this.UnitIDComboBox.DisplayMember = "UnitDescription";
            this.UnitIDComboBox.ValueMember   = "UnitID";

            this.TaxIDComboBox.DataSource    = this._serviceTaxBL.Sp_Taxes();
            this.TaxIDComboBox.DisplayMember = "TaxDescription";
            this.TaxIDComboBox.ValueMember   = "TaxID";
        }
 public ProductController(IProductBL productBL, ICategoryBL categoryBL, IHostingEnvironment hostingEnvironment)
 {
     _productBL          = productBL;
     _categoryBL         = categoryBL;
     _hostingEnvironment = hostingEnvironment;
 }
 public ArticleController(IArticleBL iArticleBL,ICategoryBL iCategoryBL)
 {
     _iArticleBL = iArticleBL;
     _iCategoryBL = iCategoryBL;
 }
예제 #7
0
 public CategoryController(ICategoryBL categoryBL, IHostingEnvironment hostingEnvironment)
 {
     _categoryBL         = categoryBL;
     _hostingEnvironment = hostingEnvironment;
 }
예제 #8
0
 public CategoryUI(ICategoryBL iCategoryBL)
 {
     _iCategoryBL = iCategoryBL;
 }
예제 #9
0
 public CategoryController(ICategoryBL category)
 {
     catBL = category;
 }
예제 #10
0
 public ApiCategoryController(ICategoryBL category)
 {
     _categoryBL = category;
 }
예제 #11
0
 public CategoryController(ICategoryBL iCB)
 {
     this.iCategoryBL = iCB;
 }
예제 #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CategoryBL"/> class.
 /// </summary>
 /// <param name="daL"> dal.</param>
 public CategoryBL(ICategoryBL daL)
 {
     this.dal = daL;
 }
 public CategoryController(ICategoryBL iCategoryBL)
 {
     _iCategoryBL = iCategoryBL;
 }
예제 #14
0
 public CategoryController(ICategoryBL categoryBL)
 {
     _categoryBL = categoryBL;
 }
예제 #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CategoryController"/> class.
 /// </summary>
 /// <param name="bL"> bL.</param>
 public CategoryController(ICategoryBL bL)
 {
     this.bl = bL;
 }
예제 #16
0
 public CategoryController()
 {
     categoryBL = new CategoryBL();
 }
 public CategoryController(ICategoryBL iCategoryBL)
 {
     _iCategoryBl = iCategoryBL;
 }