public TOut GetAccountById <TOut>(Expression <Func <ClientAccount, TOut> > projection, int accountId, IEnumerable <Expression <Func <ClientAccount, object> > > includes = null, bool trackInContext = true) where TOut : class
 {
     return(_repositoryBase.Find(projection, x => x.id == accountId, includes, trackInContext: trackInContext));
 }
Beispiel #2
0
 public TOut GetUserById <TOut>(Expression <Func <ClientUser, TOut> > projection, string userId, IEnumerable <Expression <Func <ClientUser, object> > > includes = null, bool trackInContext = true) where TOut : class
 {
     return(_repositoryBase.Find <ClientUser, TOut>(projection, x => x.Id == userId, includes, trackInContext));
 }
Beispiel #3
0
 public TOut GetAuditActivityLogById <TOut>(Expression <Func <AuditActivityLog, TOut> > projection, int logId, IEnumerable <Expression <Func <AuditActivityLog, object> > > includes = null, bool trackInContext = true) where TOut : class
 {
     return(_repositoryBase.Find <AuditActivityLog, TOut>(projection, x => x.Id == logId, includes, trackInContext));
 }