public void Delete(T entity)
 {
     if (entity != null)
     {
         _context.Remove(entity);
     }
 }