609 |
} |
} |
610 |
else |
else |
611 |
{ |
{ |
|
//throw new Exception(string.Format("Error: Cannot find record to delete (43556) for mac address: ")); |
|
612 |
string error = string.Format("Error: Cannot find record to delete (43556) for mac address: {0}", selectedClientMacAddress); |
string error = string.Format("Error: Cannot find record to delete (43556) for mac address: {0}", selectedClientMacAddress); |
613 |
Logging.ATSAdminLog.Error(error); |
using (log4net.NDC.Push(string.Format("MacAddress={0}", selectedClientMacAddress))) |
614 |
MessageBox.Show(error); |
{ |
615 |
|
Logging.ATSAdminLog.Error(error); |
616 |
|
} |
617 |
|
MessageBox.Show(string.Format("{0} -> {1}", error, string.Format("MacAddress={0}", selectedClientMacAddress))); |
618 |
|
return; |
619 |
} |
} |
620 |
} |
} |
621 |
} |
} |