Beispiel #1
0
 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)
 {
 }
Beispiel #4
0
 public Logic(DbContext context, IRepository <Entity> repository, LoggedUser LoggedUser) : base(context, repository, LoggedUser)
 {
     this.repository = repository;
 }
Beispiel #5
0
 public DocumentLogic(DbContext context, IDocumentRepository <Document> repository, LoggedUser LoggedUser) : base(context, repository, LoggedUser)
 {
     this.repository = repository;
 }
Beispiel #6
0
 public RevisionLogic(DbContext context, IDocumentRepository <Revision> repository, LoggedUser LoggedUser) : base(context, repository, LoggedUser)
 {
 }