Esempio n. 1
0
        public bool Paper_ADD(IResource model)
        {
            if (model is Paper)
            {
                PaperDAL.Paper_ADD(model as Paper);
            }

            if (model is  PaperCardInfo)
            {
                PaperDAL.PaperCardInfo_ADD(model as PaperCardInfo);
            }

            if (model is  PaperDefineInfo)
            {
                PaperDAL.PaperDefineInfo_ADD(model as PaperDefineInfo);
            }

            return(true);
        }