예제 #1
0
 public static async Task <IEnumerable <SurveilledItem> > GetAllForteam(string actionKey, Team team, ITableStorageDb <SurveilledItem> db)
 {
     return(await db.Query(actionKey, "TeamProjectInt", team.Id));
 }
예제 #2
0
 public static async Task <IEnumerable <SurveilledItem> > GetAllForActionIdentifier(string actionKey, string actionIdentifier, ITableStorageDb <SurveilledItem> db)
 {
     return(await Task.FromResult(db.Query(actionKey, "ActionInstanceIdentifier", actionIdentifier)));
 }