public Teacher AddOneTea(Teacher tea) { DBSession db = new DBSession(); Teacher tea1 = teaDal.Add(tea); db.SaveChanges(); return(tea1); }
public bool AddTeacher(Teacher tch) { return(tchDal.Add(tch) > 0); }