public bool InsertPaType(PaType patype)
 {
     return(patypeDa.InsertPaType(patype));
 }
예제 #2
0
 public bool InsertPaType(PaType patype)
 {
     db.PaTypes.Add(patype);
     return(db.SaveChanges() > 0 ? true : false);
 }