예제 #1
0
 public bool Delete(string username, string password)
 {
     using (WorkWithMeDataContext oDC = new WorkWithMeDataContext())
     {
         int result = oDC.spDeleteUser(username, password);
         if (result == 0)
         {
             return(false);
         }
         else
         {
             return(true);
         }
     }
 }