2024-11-01 19:07:13 +00:00
|
|
|
using Demo.Domain.Models;
|
|
|
|
|
|
|
|
namespace Demo.Domain.UseCase
|
|
|
|
{
|
|
|
|
public interface IUserUseCase
|
|
|
|
{
|
|
|
|
List<User> GetAllUsers();
|
|
|
|
bool RemoveUserByGuid(Guid userGuid);
|
2024-12-05 08:26:58 +00:00
|
|
|
bool RemoveUsersByGroupID(int GroupID);
|
2025-04-30 01:13:44 +00:00
|
|
|
bool CreateUser(string fio, string groupName);
|
2024-11-01 19:07:13 +00:00
|
|
|
User UpdateUser(User user);
|
|
|
|
User GetUserByGuid(Guid userGuid);
|
|
|
|
List<User> GetUsersByGroupID(int groupID);
|
2025-04-30 01:13:44 +00:00
|
|
|
bool UpdateFioUser(Guid guid, string fio);
|
2024-11-01 19:07:13 +00:00
|
|
|
}
|
|
|
|
}
|