Exemple #1
0
        public void DeleteDictionary(Dictionary param)
        {
            RefreshContext();
            DictionaryDAL dd = new DictionaryDAL();

            dd.LogicalDelete(param);
        }
Exemple #2
0
        public void AddTeams(int sessionGroupID, int GroupTypeID)
        {
            TeamDAL       TeamDal = new TeamDAL();
            DictionaryDAL dd      = new DictionaryDAL();

            List <Dictionary> teams = dd.FindAll(x => !x.Deleted && x.DictionaryType.ID == GroupTypeID);

            foreach (Dictionary item in teams)
            {
                TeamDal.Create(new Team {
                    SessionGroupID = sessionGroupID, TeamName = item.ItemName, ShortTeamName = item.ShortItemName
                });
            }
        }
        public List <Dictionary> StateListByName()
        {
            DictionaryDAL DD = new DictionaryDAL();

            return(DD.DictionaryListByType(5));
        }