#154 : Déplacement de la recherche des artistes dans les RepositoryArtiste.
This commit is contained in:
@@ -85,5 +85,13 @@ namespace Webzine.Repository
|
||||
{
|
||||
throw new NotSupportedException("Mode Local");
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public IEnumerable<Artiste> Search(string mot)
|
||||
{
|
||||
return this.dataStore.Artistes
|
||||
.Where(a => a.Nom.ToLower().Contains(mot.ToLower()))
|
||||
.ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user