presence_sample_v2/data/Repository/IGroupRepository.cs

19 lines
470 B
C#
Raw Permalink Normal View History

2024-11-22 12:18:04 +00:00
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-11-25 10:47:17 +00:00
public Task<IEnumerable<GroupDAO>> getAllGroupAsync();
2024-11-22 12:18:04 +00:00
public bool addGroup(GroupDAO group);
public bool addGroupWithStudents(GroupDAO groupDAO, IEnumerable<UserDAO> userDAOs);
}
}