ы
This commit is contained in:
parent
693f0ab646
commit
be33d7b34b
@ -20,8 +20,7 @@ namespace PizzeriaBusinessLogic.BusinessLogic
|
||||
public List<PizzaViewModel>? ReadList(PizzaSearchModel? model)
|
||||
{
|
||||
_logger.LogInformation("ReadList. PizzaName:{PizzaName}.Id:{ Id}", model?.PizzaName, model?.Id);
|
||||
var list = model == null ? _PizzaStorage.GetFullList() :
|
||||
_PizzaStorage.GetFilteredList(model);
|
||||
var list = model == null ? _PizzaStorage.GetFullList() : _PizzaStorage.GetFilteredList(model);
|
||||
if (list == null)
|
||||
{
|
||||
_logger.LogWarning("ReadList return null list");
|
||||
|
Loading…
Reference in New Issue
Block a user