using Kreta.Core.ConnectionType; using Kreta.Framework.Util; namespace Kreta.BusinessLogic { public abstract class LogicBase { protected LogicBase(IConnectionType connectionType) { ConnectionType = connectionType; } public GridParameters GridParameters { get; set; } protected IConnectionType ConnectionType { get; } protected int FelhasznaloId => ConnectionType.FelhasznaloId; protected int IntezmenyId => ConnectionType.IntezmenyId; protected string IntezmenyAzonosito => ConnectionType.IntezmenyAzonosito; protected int TanevId => ConnectionType.TanevId; } }