public void Delete(Threshold entity) { _thresholdRepositories.Delete(entity); }
public void Delete(EntityDto <int> input) { var entity = _thresholdRepository.Get(input.Id); _thresholdRepository.Delete(entity); }