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); } } }