presence_new/data/Repository/IGroupRepository.cs
2024-12-13 10:21:14 +03:00

21 lines
671 B
C#
Executable File

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using presence.data.Entity;
using presence.data.LocalData.Entity;
using presence.data.RemoteData.RemoteDataBase.DAO;
namespace presence.data.Repository {
public interface IGroupRepository
{
List<GroupDao> GetAllGroup();
bool RemoveGroupById(int groupID);
bool UpdateGroupById(int groupID, String name);
GroupDao GetGroupById(int groupID);
bool AddGroup(GroupDao group);
bool AddStudents(GroupDao group, List<UserDao> students);
public Task<IEnumerable<GroupDao>> getAllGroupAsync();
}
}