removed old getUSers method.

Added CreateGroup, GetGroups, UpdateGroup, DeleteGroup methods.
#59
This commit is contained in:
Chris.Watts90@outlook.com 2017-03-08 16:25:59 +00:00
parent ca5a5ca4cb
commit a047c20aea

View File

@ -1,4 +1,5 @@
using System; using System;
using System.Collections.Generic;
namespace Interfaces namespace Interfaces
{ {
@ -12,16 +13,6 @@ namespace Interfaces
/// plus a total user count. Pagination options are supported. /// plus a total user count. Pagination options are supported.
/// </returns> /// </returns>
UserList GetUsers(int pageNumber=-1, int pageSize=-1); UserList GetUsers(int pageNumber=-1, int pageSize=-1);
///// <summary>
///// Get a paginated list of users
///// </summary>
///// <param name="pageNumber">The number of the page to retrieve</param>
///// <param name="pageSize">The size of the pages</param>
///// <returns>
///// Returns <see cref="UserList"/> with full list of users,
///// plus a total user count. Pagination options are supported.
///// </returns>
//UserList GetUsers(int pageNumber, int pageSize);
/// <summary> /// <summary>
/// Search the user list for the following string /// Search the user list for the following string
/// </summary> /// </summary>
@ -105,5 +96,10 @@ namespace Interfaces
/// <see cref="OperationResponse"/> to indicate procedure status. /// <see cref="OperationResponse"/> to indicate procedure status.
/// </returns> /// </returns>
OperationResponse LogEventTime(Identifier identifier, out int logId); OperationResponse LogEventTime(Identifier identifier, out int logId);
OperationResponse CreateGroup(Group group, out int groupId);
List<Group> GetGroups(int userId = -1);
OperationResponse UpdateGroup(Group group);
OperationResponse DeleteGroup(int groupId);
} }
} }