using data.RemoteData.RemoteDataBase.DAO; using domain.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace data.Repository { public interface IGroupRepository { List GetAllGroup(); bool RemoveGroupById(int groupID); bool UpdateGroupById(int groupID, GroupLocalEntity updatedGroup); GroupLocalEntity GetGroupById(int groupID); int AddGroup(GroupDao newGroup); public List GetAllGroupWithStident(); void RemoveAllStudentsFromGroup(int groupId); void AddStudentToGroup(int groupId, UserDao student); void UpdateGroup(GroupDao group); bool RemoveUserByGuid(Guid userGuid); UserDao UpdateUser(Guid userGuid, string newFIO, int groupId); } }