21 lines
617 B
C#
21 lines
617 B
C#
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
|
|
{
|
|
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);
|
|
}
|
|
}
|