init
This commit is contained in:
commit
85738972fe
25
Demo.sln
Normal file
25
Demo.sln
Normal file
@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.11.35312.102
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Demo", "Demo\Demo.csproj", "{983820F6-FF31-4B3A-8593-831BC3904E80}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{983820F6-FF31-4B3A-8593-831BC3904E80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{983820F6-FF31-4B3A-8593-831BC3904E80}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{983820F6-FF31-4B3A-8593-831BC3904E80}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{983820F6-FF31-4B3A-8593-831BC3904E80}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {4F43A963-447C-4FCB-BB78-8D315EC0F1D6}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
15
Demo/Data/LocalData/Entity/Group.cs
Normal file
15
Demo/Data/LocalData/Entity/Group.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace Demo.Data.LocalData.Entity
|
||||
{
|
||||
public class Group
|
||||
{
|
||||
public required int Id { get; set; }
|
||||
public required string Name { get; set; }
|
||||
|
||||
internal Domain.Models.Group ToModel()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
12
Demo/Data/LocalData/Entity/Presence.cs
Normal file
12
Demo/Data/LocalData/Entity/Presence.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
|
||||
namespace Demo.Data.LocalData.Entity
|
||||
{
|
||||
public class Presence
|
||||
{
|
||||
public required Guid UserGuid { get; set; }
|
||||
public bool IsAttendance { get; set; } = true;
|
||||
public required DateOnly Date { get; set; }
|
||||
public required int LessonNumber { get; set; }
|
||||
}
|
||||
}
|
11
Demo/Data/LocalData/Entity/User.cs
Normal file
11
Demo/Data/LocalData/Entity/User.cs
Normal file
@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Demo.Data.LocalData.Entity
|
||||
{
|
||||
public class User
|
||||
{
|
||||
public required string FIO { get; set; }
|
||||
public Guid Guid { get; set; }
|
||||
public required int GroupID { get; set; }
|
||||
}
|
||||
}
|
26
Demo/Data/LocalData/LocalStaticData.cs
Normal file
26
Demo/Data/LocalData/LocalStaticData.cs
Normal file
@ -0,0 +1,26 @@
|
||||
using Demo.Data.LocalData.Entity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Demo.Data.LocalData
|
||||
{
|
||||
public static class LocalStaticData
|
||||
{
|
||||
public static List<Group> Groups => new List<Group>
|
||||
{
|
||||
new Group { Id = 1, Name = "ИП1-21" },
|
||||
new Group { Id = 2, Name = "ИП1-22" },
|
||||
new Group { Id = 3, Name = "ИП1-23" },
|
||||
};
|
||||
|
||||
public static List<User> Users => new List<User>
|
||||
{
|
||||
new User { Guid = Guid.Parse("e6b9964d-ea9f-420a-84b9-af9633bbfab9"), FIO = "пру5кен", GroupID = 1 },
|
||||
new User { Guid = Guid.Parse("8388d931-5bef-41be-a152-78f1aca980ed"), FIO = "RandomFio1", GroupID = 2 },
|
||||
new User { Guid = Guid.Parse("ed174548-49ed-4503-a902-c970cbf27173"), FIO = "RandomFio2", GroupID = 3 },
|
||||
new User { Guid = Guid.Parse("614c0a23-5bd5-43ae-b48e-d5750afbc282"), FIO = "RandomFio3", GroupID = 1 },
|
||||
new User { Guid = Guid.Parse("efcc1473-c116-4244-b3f7-f2341a5c3003"), FIO = "RandomFio4", GroupID = 2 },
|
||||
new User { Guid = Guid.Parse("60640fb3-ace2-4cad-81d5-a0a58bc2dbbd"), FIO = "RandomFio5", GroupID = 3 },
|
||||
};
|
||||
}
|
||||
}
|
67
Demo/Data/Repository/GroupRepositoryImpl.cs
Normal file
67
Demo/Data/Repository/GroupRepositoryImpl.cs
Normal file
@ -0,0 +1,67 @@
|
||||
using Demo.Domain.Models;
|
||||
using Demo.Data.LocalData; // Добавьте пространство имен
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace Demo.Data.Repository
|
||||
{
|
||||
public class GroupRepositoryImpl
|
||||
{
|
||||
private List<Demo.Domain.Models.Group> _groups;
|
||||
|
||||
public GroupRepositoryImpl()
|
||||
{
|
||||
// Инициализируем список групп данными из LocalStaticData
|
||||
_groups = LocalStaticData.Groups.Select(g => new Demo.Domain.Models.Group
|
||||
{
|
||||
Id = g.Id,
|
||||
Name = g.Name
|
||||
}).ToList();
|
||||
}
|
||||
|
||||
public List<Demo.Domain.Models.Group> GetAllGroups()
|
||||
{
|
||||
return _groups;
|
||||
}
|
||||
|
||||
public Group GetGroupById(int id)
|
||||
{
|
||||
return _groups.FirstOrDefault(g => g.Id == id);
|
||||
}
|
||||
|
||||
public void AddGroup(Group group)
|
||||
{
|
||||
_groups.Add(group);
|
||||
}
|
||||
|
||||
public bool UpdateGroup(Group group) // Метод возвращает bool
|
||||
{
|
||||
var existingGroup = _groups.FirstOrDefault(g => g.Id == group.Id);
|
||||
if (existingGroup != null)
|
||||
{
|
||||
existingGroup.Name = group.Name; // Обновите остальные поля, если необходимо
|
||||
return true; // Успешное обновление
|
||||
}
|
||||
return false; // Группа не найдена
|
||||
}
|
||||
|
||||
public bool RemoveGroupById(int groupId) // Метод возвращает bool
|
||||
{
|
||||
var group = _groups.FirstOrDefault(g => g.Id == groupId);
|
||||
if (group != null)
|
||||
{
|
||||
_groups.Remove(group);
|
||||
return true; // Успешное удаление
|
||||
}
|
||||
return false; // Группа не найдена
|
||||
}
|
||||
|
||||
public void DisplayGroups()
|
||||
{
|
||||
foreach (var group in _groups)
|
||||
{
|
||||
Console.WriteLine($"ID: {group.Id}, Name: {group.Name}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
68
Demo/Data/Repository/UserRepositoryImpl.cs
Normal file
68
Demo/Data/Repository/UserRepositoryImpl.cs
Normal file
@ -0,0 +1,68 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
using Demo.Data.LocalData;
|
||||
using Demo.Domain.Models;
|
||||
|
||||
namespace Demo.Data.Repository
|
||||
{
|
||||
public class UserRepositoryImpl
|
||||
{
|
||||
private List<User> _users = LocalStaticData.Users.Select(it => new User { FIO = it.FIO, Group = new Group(), Guid = it.Guid }).ToList();
|
||||
public UserRepositoryImpl() { _users = LocalStaticData.Users.Select(it => new User { FIO = it.FIO, Group = new Group(), Guid = it.Guid}).ToList(); }
|
||||
|
||||
public List<User> GetAllUsers()
|
||||
{
|
||||
return _users;
|
||||
}
|
||||
|
||||
public User GetByGuid(Guid id)
|
||||
{
|
||||
return _users.FirstOrDefault(static u => u.Guid ==u.Guid);
|
||||
}
|
||||
|
||||
public void AddUser(User user)
|
||||
{
|
||||
_users.Add(user);
|
||||
}
|
||||
|
||||
public bool UpdateUser(User user)
|
||||
{
|
||||
var existingUser = _users.FirstOrDefault(u => u.Guid == user.Guid);
|
||||
if (existingUser != null)
|
||||
{
|
||||
existingUser.FIO = user.FIO; // Обновите остальные поля, если необходимо
|
||||
return true; // Успешное обновление
|
||||
}
|
||||
return false; // Пользователь не найден
|
||||
}
|
||||
|
||||
|
||||
public void RemoveUser(Guid userGuid)
|
||||
{
|
||||
var user = _users.FirstOrDefault(u => u.Guid == userGuid);
|
||||
if (user != null)
|
||||
{
|
||||
_users.Remove(user);
|
||||
}
|
||||
}
|
||||
|
||||
public bool RemoveUserByGuid(Guid userGuid)
|
||||
{
|
||||
var user = _users.FirstOrDefault(u => u.Guid == userGuid);
|
||||
if (user != null)
|
||||
{
|
||||
_users.Remove(user);
|
||||
return true; // Успешное удаление
|
||||
}
|
||||
return false; // Пользователь не найден
|
||||
}
|
||||
|
||||
public User FindUserByGuid(Guid userGuid) // Реализуем метод
|
||||
{
|
||||
return _users.FirstOrDefault(u => u.Guid == userGuid);
|
||||
}
|
||||
}
|
||||
}
|
14
Demo/Demo.csproj
Normal file
14
Demo/Demo.csproj
Normal file
@ -0,0 +1,14 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Data\RemoteData\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
45
Demo/Domain/Models/Group.cs
Normal file
45
Demo/Domain/Models/Group.cs
Normal file
@ -0,0 +1,45 @@
|
||||
using System;
|
||||
|
||||
namespace Demo.Domain.Models
|
||||
{
|
||||
public class Group
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
|
||||
public Group() { }
|
||||
|
||||
public Group(int id, string name)
|
||||
{
|
||||
Id = id;
|
||||
Name = name;
|
||||
}
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
return obj is Group group &&
|
||||
Id == group.Id &&
|
||||
Name == group.Name;
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return HashCode.Combine(Id, Name);
|
||||
}
|
||||
|
||||
internal Data.LocalData.Entity.Group ToEntity()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public static bool operator ==(Group left, Group right)
|
||||
{
|
||||
return left.Equals(right);
|
||||
}
|
||||
|
||||
public static bool operator !=(Group left, Group right)
|
||||
{
|
||||
return !(left == right);
|
||||
}
|
||||
}
|
||||
}
|
12
Demo/Domain/Models/Presence.cs
Normal file
12
Demo/Domain/Models/Presence.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
|
||||
namespace Demo.Domain.Models
|
||||
{
|
||||
public class Presence
|
||||
{
|
||||
public required User User { get; set; }
|
||||
public bool IsAttendance { get; set; } = true;
|
||||
public required DateOnly Date { get; set; }
|
||||
public required int LessonNumber { get; set; }
|
||||
}
|
||||
}
|
17
Demo/Domain/Models/User.cs
Normal file
17
Demo/Domain/Models/User.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Demo.Domain.Models
|
||||
{
|
||||
public class User
|
||||
{
|
||||
public required string FIO { get; set; }
|
||||
public Guid Guid { get; set; }
|
||||
public required Group Group { get; set; }
|
||||
public int GroupID { get; internal set; }
|
||||
|
||||
public static explicit operator User(Data.LocalData.Entity.User? v)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
56
Demo/Domain/UseCase/GroupUseCase.cs
Normal file
56
Demo/Domain/UseCase/GroupUseCase.cs
Normal file
@ -0,0 +1,56 @@
|
||||
using Demo.Data.Repository;
|
||||
using Demo.Domain.Models;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Demo.Domain.UseCase
|
||||
{
|
||||
public class GroupUseCase
|
||||
{
|
||||
private readonly GroupRepositoryImpl _groupRepository;
|
||||
|
||||
public GroupUseCase(GroupRepositoryImpl groupRepository)
|
||||
{
|
||||
_groupRepository = groupRepository;
|
||||
}
|
||||
|
||||
public List<Group> GetAllGroups()
|
||||
{
|
||||
return _groupRepository.GetAllGroups();
|
||||
}
|
||||
|
||||
public Group GetGroupById(int id)
|
||||
{
|
||||
return _groupRepository.GetGroupById(id);
|
||||
}
|
||||
|
||||
public void AddGroup(Group group)
|
||||
{
|
||||
_groupRepository.AddGroup(group);
|
||||
}
|
||||
|
||||
public bool UpdateGroup(Group group) // Метод возвращает bool
|
||||
{
|
||||
var existingGroup = _groupRepository.GetGroupById(group.Id);
|
||||
if (existingGroup != null)
|
||||
{
|
||||
return _groupRepository.UpdateGroup(group); // Обновление через репозиторий
|
||||
}
|
||||
return false; // Группа не найдена
|
||||
}
|
||||
|
||||
public bool RemoveGroupById(int id) // Метод возвращает bool
|
||||
{
|
||||
var existingGroup = _groupRepository.GetGroupById(id);
|
||||
if (existingGroup != null)
|
||||
{
|
||||
return _groupRepository.RemoveGroupById(id); // Удаление через репозиторий
|
||||
}
|
||||
return false; // Группа не найдена
|
||||
}
|
||||
|
||||
public Group FindGroupById(int id) // Новый метод для поиска группы
|
||||
{
|
||||
return _groupRepository.GetGroupById(id);
|
||||
}
|
||||
}
|
||||
}
|
6
Demo/Domain/UseCase/UserModel.cs
Normal file
6
Demo/Domain/UseCase/UserModel.cs
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
internal class UserModel
|
||||
{
|
||||
public string FIO { get; set; }
|
||||
public Guid Guid { get; set; }
|
||||
}
|
82
Demo/Domain/UseCase/UserUseCase.cs
Normal file
82
Demo/Domain/UseCase/UserUseCase.cs
Normal file
@ -0,0 +1,82 @@
|
||||
using Demo.Data.Repository;
|
||||
using Demo.Domain.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace Demo.Domain.UseCase
|
||||
{
|
||||
public class UserUseCase
|
||||
{
|
||||
private readonly UserRepositoryImpl _userRepository;
|
||||
private readonly GroupRepositoryImpl _groupRepo;
|
||||
|
||||
public UserUseCase(UserRepositoryImpl userRepository, GroupRepositoryImpl groupRepo)
|
||||
{
|
||||
_userRepository = userRepository;
|
||||
_groupRepo = groupRepo;
|
||||
}
|
||||
|
||||
public List<User> GetAllUsers()
|
||||
{
|
||||
return _userRepository.GetAllUsers();
|
||||
}
|
||||
|
||||
public User FindUserByGuid(Guid userGuid)
|
||||
{
|
||||
return _userRepository.GetByGuid(userGuid);
|
||||
}
|
||||
|
||||
public List<UserModel> GetUsersAsModels()
|
||||
{
|
||||
return _userRepository.GetAllUsers()
|
||||
.Select(user => new UserModel
|
||||
{
|
||||
FIO = user.FIO,
|
||||
Guid = user.Guid,
|
||||
}).ToList();
|
||||
}
|
||||
|
||||
public UserModel GetUserModelById(Guid id)
|
||||
{
|
||||
var user = _userRepository.GetByGuid(id);
|
||||
return new UserModel
|
||||
{
|
||||
FIO = user.FIO,
|
||||
Guid = user.Guid,
|
||||
};
|
||||
}
|
||||
|
||||
public bool RemoveUserByGuid(Guid userGuid)
|
||||
{
|
||||
return _userRepository.RemoveUserByGuid(userGuid);
|
||||
}
|
||||
|
||||
public UserModel GetUserModelByGuid(Guid userGuid)
|
||||
{
|
||||
var user = FindUserByGuid(userGuid);
|
||||
return new UserModel
|
||||
{
|
||||
FIO = user.FIO,
|
||||
Guid = user.Guid,
|
||||
};
|
||||
}
|
||||
|
||||
public bool UpdateUser(User user)
|
||||
{
|
||||
return _userRepository.UpdateUser(user);
|
||||
}
|
||||
|
||||
// Новый метод для поиска группы по ID
|
||||
public Group GetGroupById(int id)
|
||||
{
|
||||
return _groupRepo.GetGroupById(id);
|
||||
}
|
||||
}
|
||||
|
||||
public class UserModel
|
||||
{
|
||||
public string FIO { get; set; }
|
||||
public Guid Guid { get; internal set; }
|
||||
}
|
||||
}
|
21
Demo/Program.cs
Normal file
21
Demo/Program.cs
Normal file
@ -0,0 +1,21 @@
|
||||
using Demo.Data.Repository;
|
||||
using Demo.Domain.UseCase;
|
||||
using Demo.UI;
|
||||
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var groupRepo = new GroupRepositoryImpl();
|
||||
var userRepo = new UserRepositoryImpl();
|
||||
var groupUseCase = new GroupUseCase(groupRepo);
|
||||
var userUseCase = new UserUseCase(userRepo, groupRepo);
|
||||
var mainMenu = new MainMenu(userUseCase, groupUseCase);
|
||||
|
||||
// Вывод групп при запуске программы
|
||||
groupRepo.DisplayGroups();
|
||||
|
||||
// Отображение главного меню
|
||||
mainMenu.DisplayMenu();
|
||||
}
|
||||
}
|
242
Demo/UI/MainMenu.cs
Normal file
242
Demo/UI/MainMenu.cs
Normal file
@ -0,0 +1,242 @@
|
||||
using Demo.Domain.UseCase;
|
||||
using Demo.Domain.Models; // Добавьте эту строку
|
||||
using System;
|
||||
using Demo.Data.Repository;
|
||||
|
||||
namespace Demo.UI
|
||||
{
|
||||
public class MainMenu
|
||||
{
|
||||
private readonly UserUseCase _userUseCase;
|
||||
private readonly GroupUseCase _groupUseCase;
|
||||
|
||||
public MainMenu(UserUseCase userUseCase, GroupUseCase groupUseCase)
|
||||
{
|
||||
_userUseCase = userUseCase;
|
||||
_groupUseCase = groupUseCase;
|
||||
}
|
||||
|
||||
public void DisplayMenu()
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
Console.Clear();
|
||||
Console.WriteLine("1. Показать всех пользователей");
|
||||
Console.WriteLine("2. Удалить пользователя по GUID");
|
||||
Console.WriteLine("3. Обновить пользователя");
|
||||
Console.WriteLine("4. Найти пользователя по GUID");
|
||||
Console.WriteLine("5. Показать все группы");
|
||||
Console.WriteLine("6. Добавить группу");
|
||||
Console.WriteLine("7. Обновить группу");
|
||||
Console.WriteLine("8. Удалить группу по ID"); // Добавлено
|
||||
Console.WriteLine("9. Найти группу по ID"); // Добавлено
|
||||
Console.WriteLine("0. Выход");
|
||||
|
||||
var choice = Console.ReadLine();
|
||||
switch (choice)
|
||||
{
|
||||
case "1":
|
||||
ShowAllUsers();
|
||||
break;
|
||||
case "2":
|
||||
RemoveUser();
|
||||
break;
|
||||
case "3":
|
||||
UpdateUser();
|
||||
break;
|
||||
case "4":
|
||||
FindUserByGuid();
|
||||
break;
|
||||
case "5":
|
||||
ShowAllGroups();
|
||||
break;
|
||||
case "6":
|
||||
AddGroup();
|
||||
break;
|
||||
case "7":
|
||||
UpdateGroup();
|
||||
break;
|
||||
case "8": // Обработчик для удаления группы
|
||||
RemoveGroup();
|
||||
break;
|
||||
case "9": // Обработчик для поиска группы по ID
|
||||
FindGroupById();
|
||||
break;
|
||||
case "0":
|
||||
return;
|
||||
default:
|
||||
Console.WriteLine("Неверный ввод. Попробуйте снова.");
|
||||
break;
|
||||
}
|
||||
|
||||
Console.WriteLine("Нажмите любую клавишу для продолжения...");
|
||||
Console.ReadKey();
|
||||
}
|
||||
}
|
||||
|
||||
private void ShowAllUsers()
|
||||
{
|
||||
var users = _userUseCase.GetAllUsers();
|
||||
Console.WriteLine("Все пользователи:");
|
||||
foreach (var user in users)
|
||||
{
|
||||
Console.WriteLine($"ID: {user.Guid}, Name: {user.FIO}");
|
||||
}
|
||||
}
|
||||
|
||||
private void RemoveUser()
|
||||
{
|
||||
Console.Write("Введите GUID пользователя для удаления: ");
|
||||
if (Guid.TryParse(Console.ReadLine(), out var userGuid))
|
||||
{
|
||||
var removed = _userUseCase.RemoveUserByGuid(userGuid);
|
||||
if (removed)
|
||||
{
|
||||
Console.WriteLine("Пользователь успешно удален.");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Пользователь не найден.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Некорректный GUID.");
|
||||
}
|
||||
}
|
||||
|
||||
private void RemoveGroup()
|
||||
{
|
||||
Console.Write("Введите ID группы для удаления: ");
|
||||
if (int.TryParse(Console.ReadLine(), out var groupId))
|
||||
{
|
||||
var removed = _groupUseCase.RemoveGroupById(groupId);
|
||||
if (removed)
|
||||
{
|
||||
Console.WriteLine("Группа успешно удалена.");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Группа не найдена.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Некорректный ID.");
|
||||
}
|
||||
}
|
||||
|
||||
private void UpdateUser()
|
||||
{
|
||||
Console.Write("Введите GUID пользователя для обновления: ");
|
||||
if (Guid.TryParse(Console.ReadLine(), out var userGuid))
|
||||
{
|
||||
var user = _userUseCase.FindUserByGuid(userGuid);
|
||||
if (user != null)
|
||||
{
|
||||
Console.Write("Введите новое имя пользователя: ");
|
||||
var newName = Console.ReadLine();
|
||||
user.FIO = newName; // Обновляем имя
|
||||
|
||||
var updated = _userUseCase.UpdateUser(user);
|
||||
|
||||
if (updated)
|
||||
{
|
||||
Console.WriteLine("Пользователь обновлен.");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Не удалось обновить пользователя.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Пользователь не найден.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Некорректный GUID.");
|
||||
}
|
||||
}
|
||||
|
||||
private void FindUserByGuid()
|
||||
{
|
||||
Console.Write("Введите GUID пользователя для поиска: ");
|
||||
var userGuid = Guid.Parse(Console.ReadLine() ?? string.Empty);
|
||||
var userModel = _userUseCase.GetUserModelByGuid(userGuid);
|
||||
|
||||
if (userModel != null)
|
||||
{
|
||||
Console.WriteLine($"Пользователь найден: ID = {userModel.Guid}, Name = {userModel.FIO}");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Пользователь не найден.");
|
||||
}
|
||||
}
|
||||
|
||||
private void ShowAllGroups()
|
||||
{
|
||||
var groups = _groupUseCase.GetAllGroups();
|
||||
Console.WriteLine("Все группы:");
|
||||
foreach (var group in groups)
|
||||
{
|
||||
Console.WriteLine($"ID: {group.Id}, Name: {group.Name}");
|
||||
}
|
||||
}
|
||||
|
||||
private void AddGroup()
|
||||
{
|
||||
Console.Write("Введите имя новой группы: ");
|
||||
var groupName = Console.ReadLine();
|
||||
_groupUseCase.AddGroup(new Group { Name = groupName });
|
||||
Console.WriteLine("Группа добавлена.");
|
||||
}
|
||||
|
||||
private void UpdateGroup()
|
||||
{
|
||||
Console.Write("Введите ID группы для обновления: ");
|
||||
if (int.TryParse(Console.ReadLine(), out var groupId))
|
||||
{
|
||||
Console.Write("Введите новое имя группы: ");
|
||||
var newGroupName = Console.ReadLine();
|
||||
var updated = _groupUseCase.UpdateGroup(new Group { Id = groupId, Name = newGroupName });
|
||||
|
||||
if (updated)
|
||||
{
|
||||
Console.WriteLine("Группа обновлена.");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Группа не найдена.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Некорректный ID.");
|
||||
}
|
||||
}
|
||||
|
||||
private void FindGroupById()
|
||||
{
|
||||
Console.Write("Введите ID группы для поиска: ");
|
||||
if (int.TryParse(Console.ReadLine(), out var groupId))
|
||||
{
|
||||
var group = _groupUseCase.GetGroupById(groupId);
|
||||
if (group != null)
|
||||
{
|
||||
Console.WriteLine($"Группа найдена: ID = {group.Id}, Name = {group.Name}");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Группа не найдена.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Некорректный ID.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
34
Demo/UI/UserConsole.cs
Normal file
34
Demo/UI/UserConsole.cs
Normal file
@ -0,0 +1,34 @@
|
||||
using Demo.Domain.UseCase;
|
||||
using Demo.Domain.Models;
|
||||
using System;
|
||||
using Demo.Data.Repository;
|
||||
|
||||
|
||||
namespace Demo.UI
|
||||
{
|
||||
public class UserConsole
|
||||
{
|
||||
private readonly Func<Guid, User> _userUseCase;
|
||||
private readonly UserRepositoryImpl _userRepository;
|
||||
private readonly GroupRepositoryImpl _groupRepo;
|
||||
|
||||
public UserConsole(Func<Guid, User> userUseCase)
|
||||
{
|
||||
_userUseCase = userUseCase;
|
||||
}
|
||||
|
||||
public void DisplayUser(Guid userGuid)
|
||||
{
|
||||
try
|
||||
{
|
||||
var user = _userRepository.GetByGuid(userGuid); // Уберите лишнюю точку
|
||||
Console.WriteLine($"GUID: {userGuid}, FIO: {user.FIO}, Group: {user.Group.Name}");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine(ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
23
Demo/bin/Debug/net8.0/Demo.deps.json
Normal file
23
Demo/bin/Debug/net8.0/Demo.deps.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v8.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v8.0": {
|
||||
"Demo/1.0.0": {
|
||||
"runtime": {
|
||||
"Demo.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Demo/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
BIN
Demo/bin/Debug/net8.0/Demo.dll
Normal file
BIN
Demo/bin/Debug/net8.0/Demo.dll
Normal file
Binary file not shown.
BIN
Demo/bin/Debug/net8.0/Demo.exe
Normal file
BIN
Demo/bin/Debug/net8.0/Demo.exe
Normal file
Binary file not shown.
BIN
Demo/bin/Debug/net8.0/Demo.pdb
Normal file
BIN
Demo/bin/Debug/net8.0/Demo.pdb
Normal file
Binary file not shown.
12
Demo/bin/Debug/net8.0/Demo.runtimeconfig.json
Normal file
12
Demo/bin/Debug/net8.0/Demo.runtimeconfig.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net8.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "8.0.0"
|
||||
},
|
||||
"configProperties": {
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
23
Demo/obj/Debug/net8.0/Demo.AssemblyInfo.cs
Normal file
23
Demo/obj/Debug/net8.0/Demo.AssemblyInfo.cs
Normal file
@ -0,0 +1,23 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Этот код создан программой.
|
||||
// Исполняемая версия:4.0.30319.42000
|
||||
//
|
||||
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
||||
// повторной генерации кода.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Demo")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Demo")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Demo")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Создано классом WriteCodeFragment MSBuild.
|
||||
|
1
Demo/obj/Debug/net8.0/Demo.AssemblyInfoInputs.cache
Normal file
1
Demo/obj/Debug/net8.0/Demo.AssemblyInfoInputs.cache
Normal file
@ -0,0 +1 @@
|
||||
eb16b2b154799358c5c37f7f25193ef306ab5592617791ff431f7a24a66875c2
|
@ -0,0 +1,13 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net8.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Demo
|
||||
build_property.ProjectDir = C:\Users\Class_Student\source\repos\asdsa\Demo\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
8
Demo/obj/Debug/net8.0/Demo.GlobalUsings.g.cs
Normal file
8
Demo/obj/Debug/net8.0/Demo.GlobalUsings.g.cs
Normal file
@ -0,0 +1,8 @@
|
||||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
BIN
Demo/obj/Debug/net8.0/Demo.assets.cache
Normal file
BIN
Demo/obj/Debug/net8.0/Demo.assets.cache
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
||||
d0ee730d1d1835f67eb27d1cf86d7ec81ad299cfcf11e78f3f81f0db141ce878
|
28
Demo/obj/Debug/net8.0/Demo.csproj.FileListAbsolute.txt
Normal file
28
Demo/obj/Debug/net8.0/Demo.csproj.FileListAbsolute.txt
Normal file
@ -0,0 +1,28 @@
|
||||
C:\Users\Class_Student\Source\Repos\presence\Demo\bin\Debug\net8.0\Demo.exe
|
||||
C:\Users\Class_Student\Source\Repos\presence\Demo\bin\Debug\net8.0\Demo.deps.json
|
||||
C:\Users\Class_Student\Source\Repos\presence\Demo\bin\Debug\net8.0\Demo.runtimeconfig.json
|
||||
C:\Users\Class_Student\Source\Repos\presence\Demo\bin\Debug\net8.0\Demo.dll
|
||||
C:\Users\Class_Student\Source\Repos\presence\Demo\bin\Debug\net8.0\Demo.pdb
|
||||
C:\Users\Class_Student\Source\Repos\presence\Demo\obj\Debug\net8.0\Demo.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\Class_Student\Source\Repos\presence\Demo\obj\Debug\net8.0\Demo.AssemblyInfoInputs.cache
|
||||
C:\Users\Class_Student\Source\Repos\presence\Demo\obj\Debug\net8.0\Demo.AssemblyInfo.cs
|
||||
C:\Users\Class_Student\Source\Repos\presence\Demo\obj\Debug\net8.0\Demo.csproj.CoreCompileInputs.cache
|
||||
C:\Users\Class_Student\Source\Repos\presence\Demo\obj\Debug\net8.0\Demo.dll
|
||||
C:\Users\Class_Student\Source\Repos\presence\Demo\obj\Debug\net8.0\refint\Demo.dll
|
||||
C:\Users\Class_Student\Source\Repos\presence\Demo\obj\Debug\net8.0\Demo.pdb
|
||||
C:\Users\Class_Student\Source\Repos\presence\Demo\obj\Debug\net8.0\Demo.genruntimeconfig.cache
|
||||
C:\Users\Class_Student\Source\Repos\presence\Demo\obj\Debug\net8.0\ref\Demo.dll
|
||||
C:\Users\Class_Student\source\repos\asdsa\Demo\bin\Debug\net8.0\Demo.exe
|
||||
C:\Users\Class_Student\source\repos\asdsa\Demo\bin\Debug\net8.0\Demo.deps.json
|
||||
C:\Users\Class_Student\source\repos\asdsa\Demo\bin\Debug\net8.0\Demo.runtimeconfig.json
|
||||
C:\Users\Class_Student\source\repos\asdsa\Demo\bin\Debug\net8.0\Demo.dll
|
||||
C:\Users\Class_Student\source\repos\asdsa\Demo\bin\Debug\net8.0\Demo.pdb
|
||||
C:\Users\Class_Student\source\repos\asdsa\Demo\obj\Debug\net8.0\Demo.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\Class_Student\source\repos\asdsa\Demo\obj\Debug\net8.0\Demo.AssemblyInfoInputs.cache
|
||||
C:\Users\Class_Student\source\repos\asdsa\Demo\obj\Debug\net8.0\Demo.AssemblyInfo.cs
|
||||
C:\Users\Class_Student\source\repos\asdsa\Demo\obj\Debug\net8.0\Demo.csproj.CoreCompileInputs.cache
|
||||
C:\Users\Class_Student\source\repos\asdsa\Demo\obj\Debug\net8.0\Demo.dll
|
||||
C:\Users\Class_Student\source\repos\asdsa\Demo\obj\Debug\net8.0\refint\Demo.dll
|
||||
C:\Users\Class_Student\source\repos\asdsa\Demo\obj\Debug\net8.0\Demo.pdb
|
||||
C:\Users\Class_Student\source\repos\asdsa\Demo\obj\Debug\net8.0\Demo.genruntimeconfig.cache
|
||||
C:\Users\Class_Student\source\repos\asdsa\Demo\obj\Debug\net8.0\ref\Demo.dll
|
BIN
Demo/obj/Debug/net8.0/Demo.dll
Normal file
BIN
Demo/obj/Debug/net8.0/Demo.dll
Normal file
Binary file not shown.
1
Demo/obj/Debug/net8.0/Demo.genruntimeconfig.cache
Normal file
1
Demo/obj/Debug/net8.0/Demo.genruntimeconfig.cache
Normal file
@ -0,0 +1 @@
|
||||
928fd77bcfbc91234218b976268decc0a3eb4077a6116088dc1a45f4ad4d8a67
|
BIN
Demo/obj/Debug/net8.0/Demo.pdb
Normal file
BIN
Demo/obj/Debug/net8.0/Demo.pdb
Normal file
Binary file not shown.
BIN
Demo/obj/Debug/net8.0/apphost.exe
Normal file
BIN
Demo/obj/Debug/net8.0/apphost.exe
Normal file
Binary file not shown.
BIN
Demo/obj/Debug/net8.0/ref/Demo.dll
Normal file
BIN
Demo/obj/Debug/net8.0/ref/Demo.dll
Normal file
Binary file not shown.
BIN
Demo/obj/Debug/net8.0/refint/Demo.dll
Normal file
BIN
Demo/obj/Debug/net8.0/refint/Demo.dll
Normal file
Binary file not shown.
68
Demo/obj/Demo.csproj.nuget.dgspec.json
Normal file
68
Demo/obj/Demo.csproj.nuget.dgspec.json
Normal file
@ -0,0 +1,68 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Users\\Class_Student\\source\\repos\\asdsa\\Demo\\Demo.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Users\\Class_Student\\source\\repos\\asdsa\\Demo\\Demo.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\Class_Student\\source\\repos\\asdsa\\Demo\\Demo.csproj",
|
||||
"projectName": "Demo",
|
||||
"projectPath": "C:\\Users\\Class_Student\\source\\repos\\asdsa\\Demo\\Demo.csproj",
|
||||
"packagesPath": "C:\\Users\\Class_Student\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\Class_Student\\source\\repos\\asdsa\\Demo\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Class_Student\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.400/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
15
Demo/obj/Demo.csproj.nuget.g.props
Normal file
15
Demo/obj/Demo.csproj.nuget.g.props
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Class_Student\.nuget\packages\</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\Class_Student\.nuget\packages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
2
Demo/obj/Demo.csproj.nuget.g.targets
Normal file
2
Demo/obj/Demo.csproj.nuget.g.targets
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
73
Demo/obj/project.assets.json
Normal file
73
Demo/obj/project.assets.json
Normal file
@ -0,0 +1,73 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net8.0": {}
|
||||
},
|
||||
"libraries": {},
|
||||
"projectFileDependencyGroups": {
|
||||
"net8.0": []
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\Class_Student\\.nuget\\packages\\": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\Class_Student\\source\\repos\\asdsa\\Demo\\Demo.csproj",
|
||||
"projectName": "Demo",
|
||||
"projectPath": "C:\\Users\\Class_Student\\source\\repos\\asdsa\\Demo\\Demo.csproj",
|
||||
"packagesPath": "C:\\Users\\Class_Student\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\Class_Student\\source\\repos\\asdsa\\Demo\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Class_Student\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.400/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
8
Demo/obj/project.nuget.cache
Normal file
8
Demo/obj/project.nuget.cache
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "XmvvuBlFCKo=",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Users\\Class_Student\\source\\repos\\asdsa\\Demo\\Demo.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
Loading…
Reference in New Issue
Block a user