public DeliveryAreaCreateHandler(GlobalSolusindoDb db, tblM_User user, DeliveryAreaValidator deliveryAreaValidator, DeliveryAreaFactory deliveryAreaFactory, DeliveryAreaQuery deliveryAreaQuery, AccessControl accessControl) : base(db, user) { this.deliveryAreaValidator = deliveryAreaValidator; this.deliveryAreaFactory = deliveryAreaFactory; this.deliveryAreaQuery = deliveryAreaQuery; this.deliveryAreaEntryDataProvider = new DeliveryAreaEntryDataProvider(db, user, accessControl, deliveryAreaQuery); }
private void Initialize(DeliveryAreaValidator deliveryAreaValidator, DeliveryAreaFactory deliveryAreaFactory) { this.deliveryAreaValidator = deliveryAreaValidator; this.deliveryAreaFactory = deliveryAreaFactory; }