semesterWork/data/Repository/IGroupRepository.cs

18 lines
466 B
C#
Raw Normal View History

using data.DAO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace data.Repository
{
public interface IGroupRepository
{
public IEnumerable<GroupDAO> getAllGroup();
2024-12-07 15:33:26 +00:00
public Task<IEnumerable<GroupDAO>> getAllGroupAsync();
public bool addGroup(GroupDAO group);
public bool addGroupWithStudents(GroupDAO group, IEnumerable<UserDAO> userDAOs);
}
}