Balberova D.N. LabWork05 #9
@ -59,7 +59,7 @@ namespace SushiBarBusinessLogic.BusinessLogics
|
||||
|
||||
public List<ClientViewModel>? ReadList(ClientSearchModel? model)
|
||||
{
|
||||
_logger.LogInformation("ReadList. ClientFIO: {ClientName}. Email: {Email}. Id: {Id}.",
|
||||
_logger.LogInformation("ReadList. ClientFIO: {ClientFIO}. Email: {Email}. Id: {Id}.",
|
||||
model?.ClientFIO, model?.Email, model?.Id);
|
||||
var list = model == null ? _clientStorage.GetFullList() :
|
||||
_clientStorage.GetFilteredList(model);
|
||||
|
Loading…
Reference in New Issue
Block a user