public ReadOnlyLogic(DbContext context, IReadOnlyRepository <Entity> repository, LoggedUser LoggedUser)//, int? byUserId) { this.context = context; this.repository = repository; this.LoggedUser = LoggedUser; //this.byUserId = loggedUser.UserID; }
public ReadOnlyRepository(DbContext context, LoggedUser loggedUser) { this.context = context; EntityName = typeof(T).Name; this.loggedUser = loggedUser; ByUserId = this.loggedUser?.UserID; }
public DocumentRepository(DbContext context, LoggedUser loggedUser) : base(context, loggedUser) { }
public Logic(DbContext context, IRepository <Entity> repository, LoggedUser LoggedUser) : base(context, repository, LoggedUser) { this.repository = repository; }
public DocumentLogic(DbContext context, IDocumentRepository <Document> repository, LoggedUser LoggedUser) : base(context, repository, LoggedUser) { this.repository = repository; }
public RevisionLogic(DbContext context, IDocumentRepository <Revision> repository, LoggedUser LoggedUser) : base(context, repository, LoggedUser) { }