2024-10-28 12:42:04 +00:00
|
|
|
|
// C:\Users\adm\Source\Repos\presence1\Demo\Data\Repository\IGroupRepository.cs
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Demo.Data.LocalData.Entity;
|
2024-10-24 08:50:32 +00:00
|
|
|
|
|
2024-10-28 12:42:04 +00:00
|
|
|
|
namespace Demo.Data.Repository
|
2024-10-24 08:50:32 +00:00
|
|
|
|
{
|
|
|
|
|
public interface IGroupRepository
|
|
|
|
|
{
|
|
|
|
|
IEnumerable<Group> GetAllGroups();
|
|
|
|
|
Group GetGroupById(int id);
|
|
|
|
|
void AddGroup(Group group);
|
|
|
|
|
void UpdateGroup(Group group);
|
|
|
|
|
void DeleteGroup(int id);
|
|
|
|
|
}
|
|
|
|
|
}
|