using System; using System.Text.RegularExpressions; using Zurnal.domain.Models; using Group = System.Text.RegularExpressions.Group; public interface IGroupRepository { void AddGroup(Group group); Group GetGroupById(int id); IEnumerable GetAllGroups(); void UpdateGroup(Group group); void DeleteGroup(int id); object GetAllGroup(); } public interface IUserRepository { void AddUser(User user); User GetUserById(int id); IEnumerable GetAllUsers(); void UpdateUser(User user); void DeleteUser(int id); } public interface IPresenceRepository { void AddPresence(Presence presence); Presence GetPresenceById(int id); IEnumerable GetAllPresences(); void UpdatePresence(Presence presence); void DeletePresence(int id); }