using System.Security.Principal; namespace Quadarax.Foundation.Core.Data.Interface.Domain { public interface IContext { IPrincipal CurrentUser { get; } TContext GetContext() where TContext : IContext; } }