public static bool Add(AddressInfo addressInfo)
 {
     if (addressInfo == null)
     {
         return(false);
     }
     if (string.IsNullOrEmpty(addressInfo.UserName))
     {
         return(false);
     }
     return(dal.Add(addressInfo));
 }
 public void Add(int userid, string address)
 {
     iaddress.Add(userid, address);
 }