pr1/presence/data/Repository/IGroupRepository.cs
2024-12-19 20:36:57 +03:00

21 lines
626 B
C#

using Demo.Data.RemoteData.RemoteDataBase.DAO;
using Demo.domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Demo.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();
}
}