This commit is contained in:
Илья Федотов 2024-08-15 17:50:08 +04:00
parent 8cadef8963
commit ae307673fb
2 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ namespace ElectronicsShopBusinessLogic.BusinessLogic
{
_logger.LogInformation($"ReadList. ClientID:{model?.ID}");
var list = model == null ? _storage.GetFullList() : _storage.GetFilteredList(model); ;
var list = model == null ? _storage.GetFullList() : _storage.GetFilteredList(model);
if (list == null)
{
_logger.LogWarning("ReadList. return null list");
@ -107,7 +107,7 @@ namespace ElectronicsShopBusinessLogic.BusinessLogic
{
throw new ArgumentNullException("Нет пароля пользователя", nameof(model.Password));
}
_logger.LogInformation($"Client. ID:{model.ID}.ClientFIO:{model.ClientFIO}.Password:{model.Password}.Email:{model.Email}.");
_logger.LogInformation($"Client. ID:{model.ID}.ClientFIO:{model.ClientFIO}.Password:{model.Password}.Email:{model.Email}");
var element = _storage.GetElement(new ClientSearchModel
{

View File

@ -135,4 +135,4 @@ namespace ElectronicsShopBusinessLogic.BusinessLogic
return document;
}
}
}
}