2024-10-24 11:43:25 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Text.RegularExpressions;
|
|
|
|
|
using Zurnal.domain.Models;
|
|
|
|
|
using Group = System.Text.RegularExpressions.Group;
|
|
|
|
|
|
2024-10-25 09:40:13 +00:00
|
|
|
|
namespace Zurnal.RemaDateBase
|
|
|
|
|
{
|
2024-10-24 11:43:25 +00:00
|
|
|
|
public interface IGroupRepository
|
|
|
|
|
{
|
|
|
|
|
void AddGroup(Group group);
|
|
|
|
|
Group GetGroupById(int id);
|
|
|
|
|
IEnumerable<Group> GetAllGroups();
|
|
|
|
|
void UpdateGroup(Group group);
|
|
|
|
|
void DeleteGroup(int id);
|
|
|
|
|
object GetAllGroup();
|
2024-10-25 09:20:05 +00:00
|
|
|
|
bool RemoveGroupById(int groupID);
|
|
|
|
|
bool UpdateGroupById(int groupID, GroupLocalEntity updatedGroup);
|
2024-10-24 11:43:25 +00:00
|
|
|
|
}
|
2024-10-25 09:40:13 +00:00
|
|
|
|
}
|