public MappingRoleToRoleGroupCreateHandler(GlobalSolusindoDb db, tblM_User user, MappingRoleToRoleGroupValidator mappingRoleToRoleGroupValidator, MappingRoleToRoleGroupFactory mappingRoleToRoleGroupFactory, MappingRoleToRoleGroupQuery mappingRoleToRoleGroupQuery, AccessControl accessControl) : base(db, user) { this.mappingRoleToRoleGroupValidator = mappingRoleToRoleGroupValidator; this.mappingRoleToRoleGroupFactory = mappingRoleToRoleGroupFactory; this.mappingRoleToRoleGroupQuery = mappingRoleToRoleGroupQuery; this.mappingRoleToRoleGroupEntryDataProvider = new MappingRoleToRoleGroupEntryDataProvider(db, user, accessControl, mappingRoleToRoleGroupQuery); }
private void Initialize(MappingRoleToRoleGroupValidator mappingRoleToRoleGroupValidator, MappingRoleToRoleGroupFactory mappingRoleToRoleGroupFactory) { this.mappingRoleToRoleGroupValidator = mappingRoleToRoleGroupValidator; this.mappingRoleToRoleGroupFactory = mappingRoleToRoleGroupFactory; }