public bool AddNumber(Phone phone) { using (var db = new DbWebMobile()) { return(db.Insert(phone) > 0); } }
public bool AddUser(User user) { using (var db = new DbWebMobile()) { return(db.Insert(user) > 0); } }