예제 #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);
        }
예제 #2
0
 public int Paper_ADD(Paper model)
 {
     return(PaperDAL.Paper_ADD(model));
 }