mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
remove unused repo method
This commit is contained in:
parent
b01e6550ef
commit
757786abd1
2 changed files with 0 additions and 6 deletions
|
|
@ -6,6 +6,5 @@ namespace FilterLists.Data.Repositories.Contracts
|
|||
public interface IFilterListRepository
|
||||
{
|
||||
IEnumerable<FilterList> GetAll();
|
||||
FilterList GetByName(string filterListName);
|
||||
}
|
||||
}
|
||||
|
|
@ -18,10 +18,5 @@ public IEnumerable<FilterList> GetAll()
|
|||
{
|
||||
return filterListsDbContext.FilterLists.AsEnumerable();
|
||||
}
|
||||
|
||||
public FilterList GetByName(string filterListName)
|
||||
{
|
||||
return filterListsDbContext.FilterLists.First(x => x.Name == filterListName);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue