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