public bool Delete <T>(T insertItem) where T : class, new() { try { dataAccessor.DeleteData <T>(insertItem); } catch (Exception) { return(false); #if DEBUG throw; #endif } return(true); }