public override int DeleteProfiles(string[] usernames) { SaveLog("Deleting Profiles by vector"); int errorNumber = 0; string errorDescription = null; int result = _profileDao.DeleteProfiles(_currentLogin, usernames, out errorNumber, out errorDescription); if (errorNumber > 0 || !string.IsNullOrEmpty(errorDescription)) { LogManager.WriteWarning(_currentLogin, this, "Error deleting profiles by vector.", errorDescription); return(-1); } return(result); }