2024-12-01 16:16:14 +00:00
|
|
|
|
using data.RemoteData.RemoteDataBase.DAO;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace domain.UseCase
|
|
|
|
|
{
|
|
|
|
|
public interface IGroupUseCase
|
|
|
|
|
{
|
2024-12-04 23:32:04 +00:00
|
|
|
|
public void ValidateGroupName(string groupName);
|
|
|
|
|
public void ValidateGroupId(int GroupId);
|
|
|
|
|
public GroupDao ValidateGroupExistence(int groupId);
|
|
|
|
|
public List<GroupDao> GetAllGroups();
|
|
|
|
|
public string FindGroupById(int IdGroup);
|
|
|
|
|
public void UpdateGroup(int groupId, string newGroupName);
|
|
|
|
|
public void AddGroup(string groupName);
|
2024-12-01 16:16:14 +00:00
|
|
|
|
}
|
|
|
|
|
}
|