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