From a047c20aea33e12008d3a3d1438647875c23c418 Mon Sep 17 00:00:00 2001 From: "Chris.Watts90@outlook.com" Date: Wed, 8 Mar 2017 16:25:59 +0000 Subject: [PATCH] removed old getUSers method. Added CreateGroup, GetGroups, UpdateGroup, DeleteGroup methods. #59 --- .../WindowsDataCenter/Interfaces/IRepository.cs | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) 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); } }