Fixed: Faster artist endpoint (#874)

* Fixed: Speed up AllArtist API endpoint

* New: Display UI before artists have loaded

* Add test of new repository methods
This commit is contained in:
ta264
2019-08-17 08:04:59 +01:00
committed by GitHub
parent 698d5e1cf5
commit 0352f8d3ff
18 changed files with 158 additions and 31 deletions

View File

@@ -58,7 +58,7 @@ namespace NzbDrone.Core.Datastore
public IEnumerable<TModel> All()
{
return DataMapper.Query<TModel>().ToList();
return Query.ToList();
}
public int Count()