public void Test_DeleteUser_Success() { userBUS = new TaiKhoanBUS(); Assert.AreEqual(4, userBUS.LoadUserBUS().Count); userBUS.DeleteUserBUS(5); Assert.AreEqual(3, userBUS.LoadUserBUS().Count); }
//Xoa Tai Khoan private void DeleteUser() { int userId = int.Parse(txtMaTaiKhoan.Text); userBUS.DeleteUserBUS(userId); }