public IList <UserAccount> Get() { List <UserAccount> userAccounts = new List <UserAccount>(); DoSimpleQueryWithRowCallbackDelegate( TABLE_NAME, "IsDeleted", DbUtils.ToDbBool(false), null, MAP_USER_ACCOUNT_COLUMNS, delegate(IDataReader reader) { userAccounts.Add(MapUserAccount(reader)); }); PostMapUserAccounts(userAccounts, FlowDao.GetAllDataFlowNames()); return(userAccounts); }
public ICollection <string> GetDataFlowNames() { return(_flowDao.GetAllDataFlowNames()); }
public IList <string> GetAllFlowNames(NodeVisit visit) { IList <string> flowNames = _flowDao.GetAllDataFlowNames(); return(FilterFlowsForUser(visit, flowNames)); }