public void SetAsDeleted(Guid id) { var county = _countyRepository.GetById(id); _countyRepository.SetAsDeleted(county); }