public bool DeleteUser(int id) { DataStorageService.DeleteUserRole(id); DataStorageService.DeleteUserRoleGroup(id); var script = string.Format("DELETE FROM [User] WHERE Id = {0}", id); _dbConnector.ExecuteCommand(new SqlCommand(script)); return(true); }