public void Delete <T>(T entity) where T : class
 {
     _db.Remove(entity);
 }