Ejemplo n.º 1
0
 public Task <Account> GetModifier(TEntity entity, [DataLoader] AccountDataLoader dataLoader)
 {
     return(dataLoader.LoadAsync(entity.ModifierId));
 }
Ejemplo n.º 2
0
 public Task <Account> GetAccount(Guid id, [DataLoader] AccountDataLoader dataLoader)
 {
     return(dataLoader.LoadAsync(id));
 }
Ejemplo n.º 3
0
 public Task <Account> GetCreator(TEntity entity, [DataLoader] AccountDataLoader dataLoader)
 {
     return(dataLoader.LoadAsync(entity.CreatorId));
 }