using ModuleTools.Interfaces; using System.Collections.Generic; namespace ModuleTools.BusinessLogics { /// /// Основа всех бизнес-логик /// public class CoreBusinessLogic { /// /// Менеджер безопасности /// protected readonly ISecurityManager _security; /// /// Перечень ошибок при выполнении операции /// public List<(string Title, string Message)> Errors { get; protected set; } /// /// Основа всех бизнес-логик /// /// public CoreBusinessLogic() { _security = DependencyManager.Instance.Resolve(); Errors = new(); } } }