presence/data/Repository/IUserRepository.cs

16 lines
548 B
C#
Raw Normal View History

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-12-05 08:26:58 +00:00
bool RemoveUsersByGroupID(int GroupID);
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);
2025-04-30 01:13:44 +00:00
bool UpdateFioUser(Guid guid, string fio);
2024-11-01 19:07:13 +00:00
}
}