public bool Exists(string name) { Contract.Requires <ArgumentException>(!string.IsNullOrWhiteSpace(name)); return(_repository.GetByName(name) != null); }
public bool Exists(string name) { return(_repository.GetByName(name) != null); }
public bool Exists(string name) { Contract.Requires <ArgumentException>(!string.IsNullOrWhiteSpace(name)); return(_repository.GetByName(name) != null); }
public bool Exists(string name) { return(_repository.GetByName(name) != null); }