예제 #1
0
        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);
        }
예제 #2
0
 public ICollection <string> GetDataFlowNames()
 {
     return(_flowDao.GetAllDataFlowNames());
 }
예제 #3
0
        public IList <string> GetAllFlowNames(NodeVisit visit)
        {
            IList <string> flowNames = _flowDao.GetAllDataFlowNames();

            return(FilterFlowsForUser(visit, flowNames));
        }