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