diff --git a/DataCenter_Windows/WindowsDataCenter/Interfaces/IRepository.cs b/DataCenter_Windows/WindowsDataCenter/Interfaces/IRepository.cs index b376c7f..8e02407 100644 --- a/DataCenter_Windows/WindowsDataCenter/Interfaces/IRepository.cs +++ b/DataCenter_Windows/WindowsDataCenter/Interfaces/IRepository.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; namespace Interfaces { @@ -12,16 +13,6 @@ namespace Interfaces /// plus a total user count. Pagination options are supported. /// UserList GetUsers(int pageNumber=-1, int pageSize=-1); - ///// - ///// Get a paginated list of users - ///// - ///// The number of the page to retrieve - ///// The size of the pages - ///// - ///// Returns with full list of users, - ///// plus a total user count. Pagination options are supported. - ///// - //UserList GetUsers(int pageNumber, int pageSize); /// /// Search the user list for the following string /// @@ -105,5 +96,10 @@ namespace Interfaces /// to indicate procedure status. /// OperationResponse LogEventTime(Identifier identifier, out int logId); + + OperationResponse CreateGroup(Group group, out int groupId); + List GetGroups(int userId = -1); + OperationResponse UpdateGroup(Group group); + OperationResponse DeleteGroup(int groupId); } }