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