using System; using System.Security.Principal; using Microsoft.Extensions.Logging; using NLog; using Quadarax.Foundation.Core.Data.Interface.Domain; using Quadarax.Foundation.Core.Data.Interface.Repository; using Quadarax.Foundation.Core.Logging; namespace Quadarax.Foundation.Core.Business { public abstract class AbstractRepositoryService : AbstractService where TRepository: IRepository { protected TRepository Repository { get; } protected AbstractRepositoryService(TRepository repository,IContext currentContext, IQLogger logger) : base(currentContext, logger) { Repository = repository ?? throw new ArgumentNullException(nameof(repository)); } } }