public VendorCreateHandler(GlobalSolusindoDb db, tblM_User user, VendorValidator vendorValidator, VendorFactory vendorFactory, VendorQuery vendorQuery, AccessControl accessControl) : base(db, user) { this.vendorValidator = vendorValidator; this.vendorFactory = vendorFactory; this.vendorQuery = vendorQuery; this.vendorEntryDataProvider = new VendorEntryDataProvider(db, user, accessControl, vendorQuery); }
private void Initialize(VendorValidator vendorValidator, VendorFactory vendorFactory) { this.vendorValidator = vendorValidator; this.vendorFactory = vendorFactory; }