presence_sample_v2/data/Repository/IGroupRepository.cs
2024-11-25 13:47:17 +03:00

19 lines
470 B
C#

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();
public Task<IEnumerable<GroupDAO>> getAllGroupAsync();
public bool addGroup(GroupDAO group);
public bool addGroupWithStudents(GroupDAO groupDAO, IEnumerable<UserDAO> userDAOs);
}
}