예제 #1
0
        public List <CrustTypeDAO> GetCrustTypes()
        {
            var crusts = new List <CrustTypeDAO>();

            foreach (var c in db.GetCrustTypes())
            {
                crusts.Add(DataMapper.MapToCrustTypeDAO(c));
            }

            return(crusts);
        }