2024-11-01 19:07:13 +00:00
|
|
|
using Demo.Domain.Models;
|
|
|
|
|
|
|
|
namespace Demo.Data.Repository
|
|
|
|
{
|
|
|
|
public interface IUserRepository
|
|
|
|
{
|
|
|
|
List<UserLocalEntity> GetAllUser();
|
|
|
|
UserLocalEntity? GetUserByGuid(Guid guid);
|
|
|
|
List<UserLocalEntity> GetUsersByGroupID(int groupID);
|
|
|
|
bool RemoveUserByGuid(Guid guid);
|
2024-11-08 17:42:34 +00:00
|
|
|
public UserLocalEntity? CreateUser(string FIO, string GroupName);
|
2024-11-01 19:07:13 +00:00
|
|
|
UserLocalEntity? UpdateUser(UserLocalEntity updatedUser);
|
|
|
|
}
|
|
|
|
}
|