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