Demo/Domain/UseCase/IGroupUseCase.cs

18 lines
426 B
C#
Raw Normal View History

2024-10-21 10:38:39 +00:00
using Demo.domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Demo.Domain.UseCase
{
public interface IGroupUseCase
{
List<Group> GetAllGroups();
2024-10-24 20:41:31 +00:00
bool RemoveGroupById(int groupId);
2024-10-21 10:38:39 +00:00
Group UpdateGroupName(Group group);
Group GetGroupById(int groupID);
2024-10-24 20:41:31 +00:00
bool CreateGroup(string Name);
2024-10-21 10:38:39 +00:00
}
}