убрала у коммента дату в search model
This commit is contained in:
parent
8ad556c01f
commit
6838c3f610
@ -20,7 +20,7 @@ namespace ComputerHardwareStoreBusinessLogic.BusinessLogic
|
||||
|
||||
public List<CommentViewModel>? ReadList(CommentSearchModel? model)
|
||||
{
|
||||
_logger.LogInformation("ReadList Comment. Date:{Date}. Id:{Id}", model?.Date, model?.Id);
|
||||
_logger.LogInformation("ReadList Comment. Id:{Id}", model?.Id);
|
||||
var list = model == null ? _commentStorage.GetFullList() :
|
||||
_commentStorage.GetFilteredList(model);
|
||||
if (list == null)
|
||||
@ -38,7 +38,7 @@ namespace ComputerHardwareStoreBusinessLogic.BusinessLogic
|
||||
{
|
||||
throw new ArgumentNullException(nameof(model));
|
||||
}
|
||||
_logger.LogInformation("ReadElement Comment. Date:{Date}. Id:{ Id}", model.Date, model.Id);
|
||||
_logger.LogInformation("ReadElement Comment. Id:{ Id}", model.Id);
|
||||
var element = _commentStorage.GetElement(model);
|
||||
if (element == null)
|
||||
{
|
||||
|
@ -6,12 +6,6 @@
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Remove="BusinessLogic\**" />
|
||||
<EmbeddedResource Remove="BusinessLogic\**" />
|
||||
<None Remove="BusinessLogic\**" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
|
||||
</ItemGroup>
|
||||
|
Loading…
Reference in New Issue
Block a user