Example #1
0
 public void Delete(string name)
 {
     Contract.Requires <ArgumentException>(!string.IsNullOrWhiteSpace(name));
     _repository.RemoveByName(name);
 }