public virtual bool Delete(TEntity entity) { long id = _validation.ValidateToDelete(entity); return(_repository.Delete(id)); }