public bool SaveNumber(Phone phone) { using (var db = new DbWebMobile()) { return(db.Update(phone) > 0); } }
public bool SaveUser(User user) { using (var db = new DbWebMobile()) { return(db.Update(user) > 0); } }