public void DeleteServiceType(Expression <Func <ServiceType, bool> > where) { var ListServiceType = _repository.GetMany(where); foreach (var i in ListServiceType) { _repository.Delete(i); } }