Важный комит
This commit is contained in:
parent
d98e21109d
commit
4310c47ceb
@ -23,6 +23,7 @@ namespace ZooDataBaseImplement.Implements
|
||||
public List<PreserveViewModel> GetFilteredList(PreserveSearchModel
|
||||
model)
|
||||
{
|
||||
|
||||
using var context = new ZooDatabase();
|
||||
return context.Preserves.Where(x => x.EmployeeId == model.EmployeeId)
|
||||
.Where(x => String.IsNullOrEmpty(model.PreserveName) || x.PreserveName.Contains(model.PreserveName))
|
||||
|
Loading…
Reference in New Issue
Block a user