Skip to content

Рыженкова Диана Лаб. 1 Группа 6512#96

Open
DianaRyz wants to merge 4 commits intoitsecd:mainfrom
DianaRyz:main
Open

Рыженкова Диана Лаб. 1 Группа 6512#96
DianaRyz wants to merge 4 commits intoitsecd:mainfrom
DianaRyz:main

Conversation

@DianaRyz
Copy link
Copy Markdown

@DianaRyz DianaRyz commented Apr 8, 2026

ФИО: Рыженкова Диана
Номер группы: 6512
Номер лабораторной: 1
Номер варианта: 32
Краткое описание предметной области: Сотрудник компании
Краткое описание добавленных фич: Добавлен сервис генерации, кэширование

image image

@github-actions github-actions bot added In progress Код в процессе проверки Lab 1 Лабораторная №1. Кэширование labels Apr 8, 2026
@github-actions github-actions bot requested a review from Gwymlas April 8, 2026 17:44
@DianaRyz
Copy link
Copy Markdown
Author

@Gwymlas здравствуйте! Можете пожалуйста посмотреть PR🥺

@@ -0,0 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">

<Sdk Name="Aspire.AppHost.Sdk" Version="9.0.0" />
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Апнуть sdk и пакеты ниже до версии 9.5.2

Comment on lines +102 to +105
return DateOnly.FromDateTime(
f.Date.Between(
e.HireDate.ToDateTime(TimeOnly.MinValue),
DateTime.Now));
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно так:
return f.Date.BetweenDateOnly(e.HireDate, DateOnly.FromDateTime(DateTime.Now));

Comment on lines +3 to +5
using StackExchange.Redis;
using System.Reflection.Emit;
using System.Runtime.CompilerServices;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Неиспользуемые using

{
_faker = new Faker<Employee>("ru")

.RuleFor(e => e.Id, f => f.IndexFaker + 1)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно не заполнять, все равно потом выставляем значение для Id

</PropertyGroup>
<ItemGroup>
<PackageReference Include="Bogus" Version="35.6.5" />
<PackageReference Include="Aspire.StackExchange.Redis.DistributedCaching" Version="9.0.0" />
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Апнуть до версии 9.5.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

In progress Код в процессе проверки Lab 1 Лабораторная №1. Кэширование

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants