Beispiel #1
0
 public bool Update(string password, string city, string state, ref string response)
 {
     using (WorkWithMeDataContext oDC = new WorkWithMeDataContext())
     {
         if (oDC.spUpdateUser(Id, Username, password, FirstName, MiddleInitial, LastName, Zip, Address, city, state, IsAddressPrivate, Email, ref response) == 0)
         {
             return(false);
         }
         else
         {
             return(true);
         }
     }
 }