2024-11-01 14:11:27 +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);
|
2024-11-08 13:14:43 +00:00
|
|
|
public UserLocalEntity? CreateUser(string FIO, string GroupName);
|
2024-11-01 14:11:27 +00:00
|
|
|
bool RemoveUserByGuid(Guid guid);
|
|
|
|
UserLocalEntity? UpdateUser(UserLocalEntity updatedUser);
|
|
|
|
}
|
|
|
|
}
|