init
This commit is contained in:
parent
6d8c193512
commit
4aa192ee88
@ -10,7 +10,6 @@ namespace Demo.domain.Models
|
|||||||
{
|
{
|
||||||
|
|
||||||
public required string FIO { get; set; }
|
public required string FIO { get; set; }
|
||||||
public Guid Guid { get; set; }
|
|
||||||
public int ID { get; set; }
|
public int ID { get; set; }
|
||||||
|
|
||||||
public required int GroupID { get; set; }
|
public required int GroupID { get; set; }
|
||||||
@ -20,7 +19,7 @@ namespace Demo.domain.Models
|
|||||||
public bool Equals(UserLocalEnity? other)
|
public bool Equals(UserLocalEnity? other)
|
||||||
{
|
{
|
||||||
if (other == null) return false;
|
if (other == null) return false;
|
||||||
return this.Guid.Equals(other.Guid);
|
return this.ID.Equals(other.ID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -20,12 +20,12 @@ namespace Demo.Data.LocalData
|
|||||||
|
|
||||||
public static List<UserLocalEnity> users => new List<UserLocalEnity>
|
public static List<UserLocalEnity> users => new List<UserLocalEnity>
|
||||||
{
|
{
|
||||||
new UserLocalEnity{ID = 1,Guid=Guid.Parse("e6b9964d-ea9f-420a-84b9-af9633bbfab9"), FIO = "RandomFio", GroupID = 1 },
|
new UserLocalEnity{ID = 1, FIO = "RandomFio", GroupID = 1 },
|
||||||
new UserLocalEnity{ID = 2,Guid=Guid.Parse("8388d931-5bef-41be-a152-78f1aca980ed"), FIO = "RandomFio1", GroupID = 2 },
|
new UserLocalEnity{ID = 2, FIO = "RandomFio1", GroupID = 2 },
|
||||||
new UserLocalEnity{ID = 3, Guid=Guid.Parse("ed174548-49ed-4503-a902-c970cbf27173"), FIO = "RandomFio2", GroupID = 3 },
|
new UserLocalEnity{ID = 3, FIO = "RandomFio2", GroupID = 3 },
|
||||||
new UserLocalEnity{ID = 4, Guid=Guid.Parse("614c0a23-5bd5-43ae-b48e-d5750afbc282"), FIO = "RandomFio3", GroupID = 1 },
|
new UserLocalEnity{ID = 4, FIO = "RandomFio3", GroupID = 1 },
|
||||||
new UserLocalEnity{ID = 5, Guid=Guid.Parse("efcc1473-c116-4244-b3f7-f2341a5c3003"), FIO = "RandomFio4", GroupID = 2 },
|
new UserLocalEnity{ID = 5, FIO = "RandomFio4", GroupID = 2 },
|
||||||
new UserLocalEnity{ID = 6, Guid=Guid.Parse("60640fb3-ace2-4cad-81d5-a0a58bc2dbbd"), FIO = "RandomFio5", GroupID = 3 },
|
new UserLocalEnity{ID = 6, FIO = "RandomFio5", GroupID = 3 },
|
||||||
};
|
};
|
||||||
|
|
||||||
public static List<PresenceLocalEntity> presences => new List<PresenceLocalEntity>
|
public static List<PresenceLocalEntity> presences => new List<PresenceLocalEntity>
|
||||||
|
@ -18,7 +18,7 @@ namespace Demo.Data.RemoteData.RemoteDataBase
|
|||||||
|
|
||||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||||
{
|
{
|
||||||
optionsBuilder.UseNpgsql("Host=localhost; Database=presencedb; Username=postgres; Password=123");
|
optionsBuilder.UseNpgsql("Host=localhost;Port=5432;Database=postgres;Username=postgres;Password=123");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||||
|
@ -12,9 +12,8 @@ namespace Demo.Data.Repository
|
|||||||
{
|
{
|
||||||
public interface IPresenceRepository
|
public interface IPresenceRepository
|
||||||
{
|
{
|
||||||
|
List<PresenceDao> GetPresenceByDateAndGroup(DateTime date, int groupId);
|
||||||
List<PresenceLocalEntity> GetPresenceByDateAndGroup(DateTime date, int groupId);
|
void SavePresence(List<PresenceDao> presences);
|
||||||
void SavePresence(List<PresenceLocalEntity> presences);
|
List<PresenceDao> GetPresenceByGroup(int groupId);
|
||||||
List<PresenceLocalEntity> GetPresenceByGroup(int groupId);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,15 +6,8 @@ namespace Demo.Data.Repository
|
|||||||
{
|
{
|
||||||
public interface IUserRepository
|
public interface IUserRepository
|
||||||
{
|
{
|
||||||
IEnumerable<UserLocalEnity> GetAllUsers { get; }
|
IEnumerable<UserDao> GetAllUsers { get; }
|
||||||
bool RemoveUserById(int userId);
|
bool RemoveUserById(int userId);
|
||||||
UserLocalEnity? UpdateUser(UserLocalEnity user);
|
UserDao? UpdateUser(UserDao user);
|
||||||
|
|
||||||
|
|
||||||
IEnumerable<UserDao> GetAllUsersDao { get; }
|
|
||||||
bool RemoveUserByIdDao(int userId);
|
|
||||||
UserDao? UpdateUserDao(UserDao user);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@ using System.Linq;
|
|||||||
|
|
||||||
namespace Demo.Data.Repository
|
namespace Demo.Data.Repository
|
||||||
{
|
{
|
||||||
public class PresenceRepositoryImpl : IPresenceRepository
|
public class PresenceRepositoryImpl
|
||||||
{
|
{
|
||||||
private List<PresenceLocalEntity> _presences;
|
private List<PresenceLocalEntity> _presences;
|
||||||
|
|
||||||
@ -47,20 +47,5 @@ namespace Demo.Data.Repository
|
|||||||
{
|
{
|
||||||
return _presences.Where(p => p.GroupId == groupId).ToList();
|
return _presences.Where(p => p.GroupId == groupId).ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<PresenceDao> GetPresenceByDateAndGroupDao(DateTime date, int groupId)
|
|
||||||
{
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void SavePresenceDao(List<PresenceDao> presences)
|
|
||||||
{
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<PresenceDao> GetPresenceByGroupDao(int groupId)
|
|
||||||
{
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -19,40 +19,29 @@ namespace Demo.Data.Repository
|
|||||||
_remoteDatabaseContext = remoteDatabaseContext;
|
_remoteDatabaseContext = remoteDatabaseContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<PresenceLocalEntity> GetPresenceByDateAndGroup(DateTime date, int groupId)
|
public List<PresenceDao> GetPresenceByDateAndGroup(DateTime date, int groupId)
|
||||||
{
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<PresenceDao> GetPresenceByDateAndGroupDao(DateTime date, int groupId)
|
|
||||||
{
|
{
|
||||||
return _remoteDatabaseContext.PresenceDaos.Where(p => p.Date == DateOnly.FromDateTime(date) &&
|
return _remoteDatabaseContext.PresenceDaos.Where(p => p.Date == DateOnly.FromDateTime(date) &&
|
||||||
_remoteDatabaseContext.Users.Any(u => u.GroupId == groupId && u.UserId == p.UserId)).ToList();
|
_remoteDatabaseContext.Users.Any(u => u.GroupId == groupId && u.UserId == p.UserId)).ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<PresenceLocalEntity> GetPresenceByGroup(int groupId)
|
|
||||||
{
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Реализация метода для получения всех данных по группе
|
// Реализация метода для получения всех данных по группе
|
||||||
public List<PresenceDao> GetPresenceByGroupDao(int groupId)
|
public List<PresenceDao> GetPresenceByGroup(int groupId)
|
||||||
{
|
{
|
||||||
|
foreach (var user in _remoteDatabaseContext.PresenceDaos)
|
||||||
|
{
|
||||||
|
Console.WriteLine(user);
|
||||||
|
}
|
||||||
return _remoteDatabaseContext.PresenceDaos.Where(p => p.GroupId == groupId).ToList();
|
return _remoteDatabaseContext.PresenceDaos.Where(p => p.GroupId == groupId).ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SavePresence(List<PresenceLocalEntity> presences)
|
public void SavePresence(List<PresenceDao> presences)
|
||||||
{
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void SavePresenceDao(List<PresenceDao> presences)
|
|
||||||
{
|
{
|
||||||
foreach (var presence in presences)
|
foreach (var presence in presences)
|
||||||
{
|
{
|
||||||
var existingPresence = _remoteDatabaseContext.PresenceDaos.FirstOrDefault(p =>
|
var existingPresence = _remoteDatabaseContext.PresenceDaos.FirstOrDefault(p =>
|
||||||
p.Date == presence.Date &&
|
|
||||||
p.UserId == presence.UserId &&
|
p.UserId == presence.UserId &&
|
||||||
|
p.Date == presence.Date &&
|
||||||
p.LessonNumber == presence.LessonNumber);
|
p.LessonNumber == presence.LessonNumber);
|
||||||
|
|
||||||
if (existingPresence == null)
|
if (existingPresence == null)
|
||||||
|
@ -18,9 +18,9 @@ namespace Demo.Data.Repository
|
|||||||
_remoteDatabaseContext = remoteDatabaseContext;
|
_remoteDatabaseContext = remoteDatabaseContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<UserDao> GetAllUsersDao => _remoteDatabaseContext.Users;
|
public IEnumerable<UserDao> GetAllUsers => _remoteDatabaseContext.Users;
|
||||||
|
|
||||||
public bool RemoveUserByIdDao(int userId)
|
public bool RemoveUserById(int userId)
|
||||||
{
|
{
|
||||||
var user = _remoteDatabaseContext.Users.FirstOrDefault(u => u.UserId == userId);
|
var user = _remoteDatabaseContext.Users.FirstOrDefault(u => u.UserId == userId);
|
||||||
if (user == null) throw new UserNotFoundException(userId);
|
if (user == null) throw new UserNotFoundException(userId);
|
||||||
@ -29,7 +29,7 @@ namespace Demo.Data.Repository
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public UserDao? UpdateUserDao(UserDao user)
|
public UserDao? UpdateUser(UserDao user)
|
||||||
{
|
{
|
||||||
var existingUser = _remoteDatabaseContext.Users.FirstOrDefault(u => u.UserId == user.UserId);
|
var existingUser = _remoteDatabaseContext.Users.FirstOrDefault(u => u.UserId == user.UserId);
|
||||||
if (existingUser == null) throw new UserNotFoundException(user.UserId);
|
if (existingUser == null) throw new UserNotFoundException(user.UserId);
|
||||||
@ -39,22 +39,5 @@ namespace Demo.Data.Repository
|
|||||||
|
|
||||||
return existingUser;
|
return existingUser;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public IEnumerable<UserLocalEnity> GetAllUsers => throw new NotImplementedException();
|
|
||||||
|
|
||||||
public bool RemoveUserById(int userId)
|
|
||||||
{
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
|
||||||
|
|
||||||
public UserLocalEnity? UpdateUser(UserLocalEnity user)
|
|
||||||
{
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@ using System.Linq;
|
|||||||
|
|
||||||
namespace Demo.Data.Repository
|
namespace Demo.Data.Repository
|
||||||
{
|
{
|
||||||
public class UserRepositoryImpl: IUserRepository
|
public class UserRepositoryImpl
|
||||||
{
|
{
|
||||||
private List<UserLocalEnity> _users;
|
private List<UserLocalEnity> _users;
|
||||||
|
|
||||||
@ -19,7 +19,6 @@ namespace Demo.Data.Repository
|
|||||||
|
|
||||||
public IEnumerable<UserLocalEnity> GetAllUsers => _users;
|
public IEnumerable<UserLocalEnity> GetAllUsers => _users;
|
||||||
|
|
||||||
public IEnumerable<UserDao> GetAllUsersDao => throw new NotImplementedException();
|
|
||||||
|
|
||||||
public bool RemoveUserById(int userId)
|
public bool RemoveUserById(int userId)
|
||||||
{
|
{
|
||||||
@ -30,14 +29,9 @@ namespace Demo.Data.Repository
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool RemoveUserByIdDao(int userId)
|
|
||||||
{
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
|
||||||
|
|
||||||
public UserLocalEnity? UpdateUser(UserLocalEnity user)
|
public UserLocalEnity? UpdateUser(UserLocalEnity user)
|
||||||
{
|
{
|
||||||
var existingUser = _users.FirstOrDefault(u => u.Guid == user.Guid);
|
var existingUser = _users.FirstOrDefault(u => u.ID == user.ID);
|
||||||
if (existingUser == null) throw new UserNotFoundException(user.ID);
|
if (existingUser == null) throw new UserNotFoundException(user.ID);
|
||||||
|
|
||||||
existingUser.FIO = user.FIO;
|
existingUser.FIO = user.FIO;
|
||||||
@ -46,7 +40,7 @@ namespace Demo.Data.Repository
|
|||||||
return existingUser;
|
return existingUser;
|
||||||
}
|
}
|
||||||
|
|
||||||
public UserDao? UpdateUserDao(UserDao user)
|
public UserDao? UpdateUser(UserDao user)
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,6 @@ namespace Demo.domain.Models
|
|||||||
public class User
|
public class User
|
||||||
{
|
{
|
||||||
public required string FIO { get; set; }
|
public required string FIO { get; set; }
|
||||||
public Guid Guid { get; set; }
|
|
||||||
public int ID { get; set; }
|
public int ID { get; set; }
|
||||||
public required Group Group { get; set; }
|
public required Group Group { get; set; }
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
using Demo.Data.Repository;
|
using Demo.Data.RemoteData.RemoteDataBase.DAO;
|
||||||
|
using Demo.Data.Repository;
|
||||||
using Demo.domain.Models;
|
using Demo.domain.Models;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@ -22,24 +23,24 @@ namespace Demo.Domain.UseCase
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
public List<PresenceLocalEntity> GetPresenceByDateAndGroup(DateTime date, int groupId)
|
public List<PresenceDao> GetPresenceByDateAndGroup(DateTime date, int groupId)
|
||||||
{
|
{
|
||||||
return _presenceRepository.GetPresenceByDateAndGroup(date, groupId);
|
return _presenceRepository.GetPresenceByDateAndGroup(date, groupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void GeneratePresenceDaily(int firstLesson, int lastLesson, int groupId, DateTime currentDate)
|
public void GeneratePresenceDaily(int firstLesson, int lastLesson, int groupId, DateTime currentDate)
|
||||||
{
|
{
|
||||||
var users = _userRepository.GetAllUsers.Where(u => u.GroupID == groupId).ToList();
|
var users = _userRepository.GetAllUsers.Where(u => u.GroupId == groupId).ToList();
|
||||||
List<PresenceLocalEntity> presences = new List<PresenceLocalEntity>();
|
List<PresenceDao> presences = new List<PresenceDao>();
|
||||||
for (int lessonNumber = firstLesson; lessonNumber <= lastLesson; lessonNumber++)
|
for (int lessonNumber = firstLesson; lessonNumber <= lastLesson; lessonNumber++)
|
||||||
{
|
{
|
||||||
foreach (var user in users)
|
foreach (var user in users)
|
||||||
{
|
{
|
||||||
presences.Add(new PresenceLocalEntity
|
presences.Add(new PresenceDao
|
||||||
{
|
{
|
||||||
UserId = user.ID,
|
UserId = user.UserId,
|
||||||
GroupId = user.GroupID,
|
GroupId = user.GroupId,
|
||||||
Date = currentDate,
|
Date = DateOnly.FromDateTime(currentDate),
|
||||||
LessonNumber = lessonNumber,
|
LessonNumber = lessonNumber,
|
||||||
IsAttedance = true
|
IsAttedance = true
|
||||||
});
|
});
|
||||||
@ -72,8 +73,9 @@ namespace Demo.Domain.UseCase
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
public List<PresenceLocalEntity> GetAllPresenceByGroup(int groupId)
|
public List<PresenceDao> GetAllPresenceByGroup(int groupId)
|
||||||
{
|
{
|
||||||
|
|
||||||
return _presenceRepository.GetPresenceByGroup(groupId);
|
return _presenceRepository.GetPresenceByGroup(groupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,10 +26,10 @@ namespace Demo.Domain.UseCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Приватный метод для валидации существования пользователя по ID
|
// Приватный метод для валидации существования пользователя по ID
|
||||||
private UserLocalEnity ValidateUserExistence(int userId)
|
private UserDao ValidateUserExistence(int userId)
|
||||||
{
|
{
|
||||||
var user = _repositoryUserImpl.GetAllUsers
|
var user = _repositoryUserImpl.GetAllUsers
|
||||||
.FirstOrDefault(u => u.ID == userId);
|
.FirstOrDefault(u => u.UserId == userId);
|
||||||
|
|
||||||
if (user == null)
|
if (user == null)
|
||||||
{
|
{
|
||||||
@ -56,14 +56,13 @@ namespace Demo.Domain.UseCase
|
|||||||
// Вывести всех пользователей
|
// Вывести всех пользователей
|
||||||
public List<User> GetAllUsers() => _repositoryUserImpl.GetAllUsers
|
public List<User> GetAllUsers() => _repositoryUserImpl.GetAllUsers
|
||||||
.Join(_repositoryGroupImpl.GetAllGroups(),
|
.Join(_repositoryGroupImpl.GetAllGroups(),
|
||||||
user => user.GroupID,
|
user => user.GroupId,
|
||||||
group => group.Id,
|
group => group.Id,
|
||||||
(user, group) =>
|
(user, group) =>
|
||||||
new User
|
new User
|
||||||
{
|
{
|
||||||
ID = user.ID,
|
ID = user.UserId,
|
||||||
FIO = user.FIO,
|
FIO = user.FIO,
|
||||||
Guid = user.Guid,
|
|
||||||
Group = new Group { Id = group.Id, Name = group.Name }
|
Group = new Group { Id = group.Id, Name = group.Name }
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
@ -86,32 +85,30 @@ namespace Demo.Domain.UseCase
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Обновить пользователя по guid
|
// Обновить пользователя по id
|
||||||
public User UpdateUser(User user)
|
public User UpdateUser(User user)
|
||||||
{
|
{
|
||||||
ValidateUserFIO(user.FIO);
|
ValidateUserFIO(user.FIO);
|
||||||
ValidateGroupExistence(user.Group.Id);
|
ValidateGroupExistence(user.Group.Id);
|
||||||
|
|
||||||
UserLocalEnity userLocalEnity = new UserLocalEnity
|
UserDao userDao = new UserDao
|
||||||
{
|
{
|
||||||
FIO = user.FIO,
|
FIO = user.FIO,
|
||||||
GroupID = user.Group.Id,
|
GroupId = user.Group.Id
|
||||||
Guid = user.Guid
|
|
||||||
};
|
};
|
||||||
|
|
||||||
UserLocalEnity? result = _repositoryUserImpl.UpdateUser(userLocalEnity);
|
UserDao? result = _repositoryUserImpl.UpdateUser(userDao);
|
||||||
|
|
||||||
if (result == null)
|
if (result == null)
|
||||||
{
|
{
|
||||||
throw new Exception("Ошибка при обновлении пользователя.");
|
throw new Exception("Ошибка при обновлении пользователя.");
|
||||||
}
|
}
|
||||||
|
|
||||||
var groupEntity = ValidateGroupExistence(result.GroupID);
|
var groupEntity = ValidateGroupExistence(result.GroupId);
|
||||||
|
|
||||||
return new User
|
return new User
|
||||||
{
|
{
|
||||||
FIO = result.FIO,
|
FIO = result.FIO,
|
||||||
Guid = result.Guid,
|
|
||||||
Group = new Group
|
Group = new Group
|
||||||
{
|
{
|
||||||
Id = groupEntity.Id,
|
Id = groupEntity.Id,
|
||||||
@ -124,12 +121,11 @@ namespace Demo.Domain.UseCase
|
|||||||
public User FindUserById(int userId)
|
public User FindUserById(int userId)
|
||||||
{
|
{
|
||||||
var user = ValidateUserExistence(userId);
|
var user = ValidateUserExistence(userId);
|
||||||
var group = ValidateGroupExistence(user.GroupID);
|
var group = ValidateGroupExistence(user.GroupId);
|
||||||
|
|
||||||
return new User
|
return new User
|
||||||
{
|
{
|
||||||
FIO = user.FIO,
|
FIO = user.FIO,
|
||||||
Guid = user.Guid,
|
|
||||||
Group = new Group { Id = group.Id, Name = group.Name }
|
Group = new Group { Id = group.Id, Name = group.Name }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
using Demo.domain.Models;
|
using Demo.Data.RemoteData.RemoteDataBase.DAO;
|
||||||
|
using Demo.domain.Models;
|
||||||
using Demo.Domain.UseCase;
|
using Demo.Domain.UseCase;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@ -47,7 +48,7 @@ namespace Demo.UI
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
List<PresenceLocalEntity> presences = _presenceUseCase.GetPresenceByDateAndGroup(date, groupId);
|
List<PresenceDao> presences = _presenceUseCase.GetPresenceByDateAndGroup(date, groupId);
|
||||||
|
|
||||||
if (presences == null || presences.Count == 0)
|
if (presences == null || presences.Count == 0)
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,7 @@ namespace Demo.UI
|
|||||||
|
|
||||||
foreach (var user in _userUseCase.GetAllUsers())
|
foreach (var user in _userUseCase.GetAllUsers())
|
||||||
{
|
{
|
||||||
userOutput.AppendLine($"{user.ID}\t{user.Guid}\t{user.FIO}\t{user.Group.Name}");
|
userOutput.AppendLine($"{user.ID}\t{user.FIO}\t{user.Group.Name}");
|
||||||
}
|
}
|
||||||
|
|
||||||
Console.WriteLine(userOutput);
|
Console.WriteLine(userOutput);
|
||||||
@ -63,7 +63,7 @@ namespace Demo.UI
|
|||||||
var user = _userUseCase.FindUserById(userId);
|
var user = _userUseCase.FindUserById(userId);
|
||||||
if (user != null)
|
if (user != null)
|
||||||
{
|
{
|
||||||
Console.WriteLine($"\nПользователь найден: {user.Guid}, {user.FIO}, {user.Group.Name}\n");
|
Console.WriteLine($"\nПользователь найден: {user.ID}, {user.FIO}, {user.Group.Name}\n");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -14,7 +14,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Demo")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Demo")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f7d51508b530eabb76d3b4b1f318300167d3841e")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6d8c19351234da2add52da771bf06d55d3df6cad")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("Demo")]
|
[assembly: System.Reflection.AssemblyProductAttribute("Demo")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("Demo")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("Demo")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
@ -1 +1 @@
|
|||||||
493adb33b632bbecda0d79b7d44fbeac0c4f7b12d8b381a895bb0e6e1fed2bd3
|
d7265b338b27fdfdb190863dec9fcea57549cd505f57822d2d846379358bebf3
|
||||||
|
@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = Demo
|
build_property.RootNamespace = Demo
|
||||||
build_property.ProjectDir = C:\Users\adm\source\repos\presence1\Demo\
|
build_property.ProjectDir = C:\Users\sokol\Source\Repos\presence123\Demo\
|
||||||
build_property.EnableComHosting =
|
build_property.EnableComHosting =
|
||||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
30504035d845e5616feb21a777025026c55555e88052b83a111a265004d6549d
|
b74e8cd37e3d75b4852913dbcfdd32ab1ebce041b1f20cdb3236fba5980496f8
|
||||||
|
@ -124,3 +124,101 @@ C:\Users\adm\source\repos\presence1\Demo\bin\Debug\net8.0\zh-Hans\Microsoft.Code
|
|||||||
C:\Users\adm\source\repos\presence1\Demo\bin\Debug\net8.0\zh-Hant\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
C:\Users\adm\source\repos\presence1\Demo\bin\Debug\net8.0\zh-Hant\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||||
C:\Users\adm\source\repos\presence1\Demo\obj\Debug\net8.0\Demo.csproj.AssemblyReference.cache
|
C:\Users\adm\source\repos\presence1\Demo\obj\Debug\net8.0\Demo.csproj.AssemblyReference.cache
|
||||||
C:\Users\adm\source\repos\presence1\Demo\obj\Debug\net8.0\Demo.csproj.Up2Date
|
C:\Users\adm\source\repos\presence1\Demo\obj\Debug\net8.0\Demo.csproj.Up2Date
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Demo.exe
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Demo.deps.json
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Demo.runtimeconfig.json
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Demo.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Demo.pdb
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Humanizer.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.Bcl.AsyncInterfaces.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.CodeAnalysis.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.CodeAnalysis.CSharp.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.CodeAnalysis.CSharp.Workspaces.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.CodeAnalysis.Workspaces.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.EntityFrameworkCore.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.EntityFrameworkCore.Abstractions.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.EntityFrameworkCore.Design.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.EntityFrameworkCore.Relational.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.Extensions.Caching.Abstractions.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.Extensions.Caching.Memory.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.Extensions.Configuration.Abstractions.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.Extensions.DependencyInjection.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.Extensions.DependencyModel.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.Extensions.Logging.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.Extensions.Logging.Abstractions.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.Extensions.Options.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Microsoft.Extensions.Primitives.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Mono.TextTemplating.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Npgsql.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\Npgsql.EntityFrameworkCore.PostgreSQL.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\System.CodeDom.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\System.Composition.AttributedModel.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\System.Composition.Convention.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\System.Composition.Hosting.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\System.Composition.Runtime.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\System.Composition.TypedParts.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\System.IO.Pipelines.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\cs\Microsoft.CodeAnalysis.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\de\Microsoft.CodeAnalysis.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\es\Microsoft.CodeAnalysis.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\fr\Microsoft.CodeAnalysis.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\it\Microsoft.CodeAnalysis.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\ja\Microsoft.CodeAnalysis.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\ko\Microsoft.CodeAnalysis.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\pl\Microsoft.CodeAnalysis.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\pt-BR\Microsoft.CodeAnalysis.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\ru\Microsoft.CodeAnalysis.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\tr\Microsoft.CodeAnalysis.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\zh-Hans\Microsoft.CodeAnalysis.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\zh-Hant\Microsoft.CodeAnalysis.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\cs\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\de\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\es\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\fr\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\it\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\ja\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\ko\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\pl\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\pt-BR\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\ru\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\tr\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\zh-Hans\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\zh-Hant\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\cs\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\de\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\es\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\fr\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\it\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\ja\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\ko\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\pl\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\pt-BR\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\ru\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\tr\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\zh-Hans\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\zh-Hant\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\cs\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\de\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\es\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\fr\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\it\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\ja\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\ko\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\pl\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\pt-BR\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\ru\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\tr\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\zh-Hans\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\bin\Debug\net8.0\zh-Hant\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\obj\Debug\net8.0\Demo.csproj.AssemblyReference.cache
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\obj\Debug\net8.0\Demo.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\obj\Debug\net8.0\Demo.AssemblyInfoInputs.cache
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\obj\Debug\net8.0\Demo.AssemblyInfo.cs
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\obj\Debug\net8.0\Demo.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\obj\Debug\net8.0\Demo.csproj.Up2Date
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\obj\Debug\net8.0\Demo.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\obj\Debug\net8.0\refint\Demo.dll
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\obj\Debug\net8.0\Demo.pdb
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\obj\Debug\net8.0\Demo.genruntimeconfig.cache
|
||||||
|
C:\Users\sokol\source\repos\presence123\Demo\obj\Debug\net8.0\ref\Demo.dll
|
||||||
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
d5eb5cfbfe9d110c04bac2d0bacec315a054499e2bed6b39e50a2c77268548e7
|
2ba2d99d6310b7ec801cf41e6531441c3e676004139cd180dab040422e702bb2
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,20 +1,20 @@
|
|||||||
{
|
{
|
||||||
"format": 1,
|
"format": 1,
|
||||||
"restore": {
|
"restore": {
|
||||||
"C:\\Users\\adm\\source\\repos\\presence1\\Demo\\Demo.csproj": {}
|
"C:\\Users\\sokol\\Source\\Repos\\presence123\\Demo\\Demo.csproj": {}
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
"C:\\Users\\adm\\source\\repos\\presence1\\Demo\\Demo.csproj": {
|
"C:\\Users\\sokol\\Source\\Repos\\presence123\\Demo\\Demo.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\adm\\source\\repos\\presence1\\Demo\\Demo.csproj",
|
"projectUniqueName": "C:\\Users\\sokol\\Source\\Repos\\presence123\\Demo\\Demo.csproj",
|
||||||
"projectName": "Demo",
|
"projectName": "Demo",
|
||||||
"projectPath": "C:\\Users\\adm\\source\\repos\\presence1\\Demo\\Demo.csproj",
|
"projectPath": "C:\\Users\\sokol\\Source\\Repos\\presence123\\Demo\\Demo.csproj",
|
||||||
"packagesPath": "C:\\Users\\adm\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\sokol\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\adm\\source\\repos\\presence1\\Demo\\obj\\",
|
"outputPath": "C:\\Users\\sokol\\Source\\Repos\\presence123\\Demo\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\adm\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\sokol\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
],
|
],
|
||||||
"originalTargetFrameworks": [
|
"originalTargetFrameworks": [
|
||||||
@ -80,7 +80,7 @@
|
|||||||
"privateAssets": "all"
|
"privateAssets": "all"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.400/PortableRuntimeIdentifierGraph.json"
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.403/PortableRuntimeIdentifierGraph.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,18 +5,18 @@
|
|||||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\adm\.nuget\packages\</NuGetPackageFolders>
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\sokol\.nuget\packages\</NuGetPackageFolders>
|
||||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.0</NuGetToolVersion>
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.1</NuGetToolVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
<SourceRoot Include="C:\Users\adm\.nuget\packages\" />
|
<SourceRoot Include="C:\Users\sokol\.nuget\packages\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
<Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore\8.0.10\buildTransitive\net8.0\Microsoft.EntityFrameworkCore.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore\8.0.10\buildTransitive\net8.0\Microsoft.EntityFrameworkCore.props')" />
|
<Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore\8.0.10\buildTransitive\net8.0\Microsoft.EntityFrameworkCore.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore\8.0.10\buildTransitive\net8.0\Microsoft.EntityFrameworkCore.props')" />
|
||||||
<Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\8.0.10\build\net8.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\8.0.10\build\net8.0\Microsoft.EntityFrameworkCore.Design.props')" />
|
<Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\8.0.10\build\net8.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\8.0.10\build\net8.0\Microsoft.EntityFrameworkCore.Design.props')" />
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
<PkgMicrosoft_CodeAnalysis_Analyzers Condition=" '$(PkgMicrosoft_CodeAnalysis_Analyzers)' == '' ">C:\Users\adm\.nuget\packages\microsoft.codeanalysis.analyzers\3.3.3</PkgMicrosoft_CodeAnalysis_Analyzers>
|
<PkgMicrosoft_CodeAnalysis_Analyzers Condition=" '$(PkgMicrosoft_CodeAnalysis_Analyzers)' == '' ">C:\Users\sokol\.nuget\packages\microsoft.codeanalysis.analyzers\3.3.3</PkgMicrosoft_CodeAnalysis_Analyzers>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
@ -2111,19 +2111,19 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"packageFolders": {
|
"packageFolders": {
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\": {}
|
"C:\\Users\\sokol\\.nuget\\packages\\": {}
|
||||||
},
|
},
|
||||||
"project": {
|
"project": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\adm\\Source\\Repos\\presence1\\Demo\\Demo.csproj",
|
"projectUniqueName": "C:\\Users\\sokol\\Source\\Repos\\presence123\\Demo\\Demo.csproj",
|
||||||
"projectName": "Demo",
|
"projectName": "Demo",
|
||||||
"projectPath": "C:\\Users\\adm\\Source\\Repos\\presence1\\Demo\\Demo.csproj",
|
"projectPath": "C:\\Users\\sokol\\Source\\Repos\\presence123\\Demo\\Demo.csproj",
|
||||||
"packagesPath": "C:\\Users\\adm\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\sokol\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\adm\\Source\\Repos\\presence1\\Demo\\obj\\",
|
"outputPath": "C:\\Users\\sokol\\Source\\Repos\\presence123\\Demo\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\adm\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\sokol\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
],
|
],
|
||||||
"originalTargetFrameworks": [
|
"originalTargetFrameworks": [
|
||||||
@ -2189,7 +2189,7 @@
|
|||||||
"privateAssets": "all"
|
"privateAssets": "all"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.400/PortableRuntimeIdentifierGraph.json"
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.403/PortableRuntimeIdentifierGraph.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,47 +1,47 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "u1UuBtFmr6Y=",
|
"dgSpecHash": "U8P56hzRT2E=",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "C:\\Users\\adm\\source\\repos\\presence1\\Demo\\Demo.csproj",
|
"projectFilePath": "C:\\Users\\sokol\\Source\\Repos\\presence123\\Demo\\Demo.csproj",
|
||||||
"expectedPackageFiles": [
|
"expectedPackageFiles": [
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\humanizer.core\\2.14.1\\humanizer.core.2.14.1.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\humanizer.core\\2.14.1\\humanizer.core.2.14.1.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\6.0.0\\microsoft.bcl.asyncinterfaces.6.0.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\6.0.0\\microsoft.bcl.asyncinterfaces.6.0.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.codeanalysis.analyzers\\3.3.3\\microsoft.codeanalysis.analyzers.3.3.3.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.codeanalysis.analyzers\\3.3.3\\microsoft.codeanalysis.analyzers.3.3.3.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.codeanalysis.common\\4.5.0\\microsoft.codeanalysis.common.4.5.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.codeanalysis.common\\4.5.0\\microsoft.codeanalysis.common.4.5.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.codeanalysis.csharp\\4.5.0\\microsoft.codeanalysis.csharp.4.5.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.codeanalysis.csharp\\4.5.0\\microsoft.codeanalysis.csharp.4.5.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.codeanalysis.csharp.workspaces\\4.5.0\\microsoft.codeanalysis.csharp.workspaces.4.5.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.codeanalysis.csharp.workspaces\\4.5.0\\microsoft.codeanalysis.csharp.workspaces.4.5.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.codeanalysis.workspaces.common\\4.5.0\\microsoft.codeanalysis.workspaces.common.4.5.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.codeanalysis.workspaces.common\\4.5.0\\microsoft.codeanalysis.workspaces.common.4.5.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.entityframeworkcore\\8.0.10\\microsoft.entityframeworkcore.8.0.10.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.entityframeworkcore\\8.0.10\\microsoft.entityframeworkcore.8.0.10.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\8.0.10\\microsoft.entityframeworkcore.abstractions.8.0.10.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\8.0.10\\microsoft.entityframeworkcore.abstractions.8.0.10.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\8.0.10\\microsoft.entityframeworkcore.analyzers.8.0.10.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\8.0.10\\microsoft.entityframeworkcore.analyzers.8.0.10.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.entityframeworkcore.design\\8.0.10\\microsoft.entityframeworkcore.design.8.0.10.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.entityframeworkcore.design\\8.0.10\\microsoft.entityframeworkcore.design.8.0.10.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\8.0.10\\microsoft.entityframeworkcore.relational.8.0.10.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\8.0.10\\microsoft.entityframeworkcore.relational.8.0.10.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\8.0.0\\microsoft.extensions.caching.abstractions.8.0.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\8.0.0\\microsoft.extensions.caching.abstractions.8.0.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.extensions.caching.memory\\8.0.1\\microsoft.extensions.caching.memory.8.0.1.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.extensions.caching.memory\\8.0.1\\microsoft.extensions.caching.memory.8.0.1.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\8.0.0\\microsoft.extensions.configuration.abstractions.8.0.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\8.0.0\\microsoft.extensions.configuration.abstractions.8.0.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\8.0.1\\microsoft.extensions.dependencyinjection.8.0.1.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\8.0.1\\microsoft.extensions.dependencyinjection.8.0.1.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\8.0.2\\microsoft.extensions.dependencyinjection.abstractions.8.0.2.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\8.0.2\\microsoft.extensions.dependencyinjection.abstractions.8.0.2.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.extensions.dependencymodel\\8.0.2\\microsoft.extensions.dependencymodel.8.0.2.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.extensions.dependencymodel\\8.0.2\\microsoft.extensions.dependencymodel.8.0.2.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.extensions.logging\\8.0.1\\microsoft.extensions.logging.8.0.1.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.extensions.logging\\8.0.1\\microsoft.extensions.logging.8.0.1.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\8.0.2\\microsoft.extensions.logging.abstractions.8.0.2.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\8.0.2\\microsoft.extensions.logging.abstractions.8.0.2.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.extensions.options\\8.0.2\\microsoft.extensions.options.8.0.2.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.extensions.options\\8.0.2\\microsoft.extensions.options.8.0.2.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\microsoft.extensions.primitives\\8.0.0\\microsoft.extensions.primitives.8.0.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\microsoft.extensions.primitives\\8.0.0\\microsoft.extensions.primitives.8.0.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\mono.texttemplating\\2.2.1\\mono.texttemplating.2.2.1.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\mono.texttemplating\\2.2.1\\mono.texttemplating.2.2.1.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\npgsql\\8.0.5\\npgsql.8.0.5.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\npgsql\\8.0.5\\npgsql.8.0.5.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\npgsql.entityframeworkcore.postgresql\\8.0.10\\npgsql.entityframeworkcore.postgresql.8.0.10.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\npgsql.entityframeworkcore.postgresql\\8.0.10\\npgsql.entityframeworkcore.postgresql.8.0.10.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\system.codedom\\4.4.0\\system.codedom.4.4.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\system.codedom\\4.4.0\\system.codedom.4.4.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\system.collections.immutable\\6.0.0\\system.collections.immutable.6.0.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\system.collections.immutable\\6.0.0\\system.collections.immutable.6.0.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\system.composition\\6.0.0\\system.composition.6.0.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\system.composition\\6.0.0\\system.composition.6.0.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\system.composition.attributedmodel\\6.0.0\\system.composition.attributedmodel.6.0.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\system.composition.attributedmodel\\6.0.0\\system.composition.attributedmodel.6.0.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\system.composition.convention\\6.0.0\\system.composition.convention.6.0.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\system.composition.convention\\6.0.0\\system.composition.convention.6.0.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\system.composition.hosting\\6.0.0\\system.composition.hosting.6.0.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\system.composition.hosting\\6.0.0\\system.composition.hosting.6.0.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\system.composition.runtime\\6.0.0\\system.composition.runtime.6.0.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\system.composition.runtime\\6.0.0\\system.composition.runtime.6.0.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\system.composition.typedparts\\6.0.0\\system.composition.typedparts.6.0.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\system.composition.typedparts\\6.0.0\\system.composition.typedparts.6.0.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\system.io.pipelines\\6.0.3\\system.io.pipelines.6.0.3.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\system.io.pipelines\\6.0.3\\system.io.pipelines.6.0.3.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\system.reflection.metadata\\6.0.1\\system.reflection.metadata.6.0.1.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\system.reflection.metadata\\6.0.1\\system.reflection.metadata.6.0.1.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\system.text.encoding.codepages\\6.0.0\\system.text.encoding.codepages.6.0.0.nupkg.sha512",
|
"C:\\Users\\sokol\\.nuget\\packages\\system.text.encoding.codepages\\6.0.0\\system.text.encoding.codepages.6.0.0.nupkg.sha512",
|
||||||
"C:\\Users\\adm\\.nuget\\packages\\system.threading.channels\\6.0.0\\system.threading.channels.6.0.0.nupkg.sha512"
|
"C:\\Users\\sokol\\.nuget\\packages\\system.threading.channels\\6.0.0\\system.threading.channels.6.0.0.nupkg.sha512"
|
||||||
],
|
],
|
||||||
"logs": []
|
"logs": []
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user