Ejemplo n.º 1
0
        public void DeleteDictionary(Dictionary param)
        {
            RefreshContext();
            DictionaryDAL dd = new DictionaryDAL();

            dd.LogicalDelete(param);
        }
Ejemplo n.º 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
                });
            }
        }
Ejemplo n.º 3
0
        public List <Dictionary> StateListByName()
        {
            DictionaryDAL DD = new DictionaryDAL();

            return(DD.DictionaryListByType(5));
        }