presence/domain/UseCase/IUserUseCase.cs
2024-12-08 17:33:25 +03:00

16 lines
470 B
C#

using Demo.Domain.Models;
namespace Demo.Domain.UseCase
{
public interface IUserUseCase
{
List<User> GetAllUsers();
bool CreateUser(User user);
bool CreateUserUI(string FIO, string GroupName);
bool RemoveUserByGuid(Guid userGuid);
bool RemoveUserByFIOnGroup(string FIO, int groupID);
User UpdateUser(User user);
User GetUserByGuid(Guid userGuid);
List<User> GetUsersByGroupID(int groupID);
}
}