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