Raspisanie/Zurnal/RemaDateBase/Interfase/IGroupRepository.cs

17 lines
486 B
C#
Raw Normal View History

2024-10-28 08:22:33 +00:00
using Zurnal.domain.Models;
2024-10-24 11:43:25 +00:00
using Group = System.Text.RegularExpressions.Group;
2024-10-25 09:40:13 +00:00
namespace Zurnal.RemaDateBase
{
2024-10-28 08:22:33 +00:00
public interface IGroupRepository
2024-10-24 11:43:25 +00:00
{
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
}