presence/data/Repository/IUserRepository.cs
2024-12-04 22:33:12 +03:00

15 lines
497 B
C#

using Demo.Domain.Models;
namespace Demo.Data.Repository
{
public interface IUserRepository
{
List<UserLocalEntity> GetAllUser();
UserLocalEntity? GetUserByGuid(Guid guid);
List<UserLocalEntity> GetUsersByGroupID(int groupID);
public UserLocalEntity? CreateUser(string FIO, string GroupName);
bool RemoveUserByGuid(Guid guid);
bool RemoveUsersByGroupID(int groupID);
UserLocalEntity? UpdateUser(UserLocalEntity updatedUser);
}
}