extend interface to retrieve a single group by Id.

extend GetUsers to accept a groupId parameter.
#64
This commit is contained in:
chris.watts90@outlook.com 2017-03-17 23:50:37 +00:00
parent 88b62a23a3
commit 199c5e965a

View File

@ -12,7 +12,7 @@ namespace Interfaces
/// Returns <see cref="UserList"/> with full list of users,
/// plus a total user count. Pagination options are supported.
/// </returns>
UserList GetUsers(int pageNumber=-1, int pageSize=-1);
UserList GetUsers(int pageNumber = -1, int pageSize = -1, int groupId = -1);
/// <summary>
/// Search the user list for the following string
/// </summary>
@ -99,6 +99,7 @@ namespace Interfaces
OperationResponse CreateGroup(Group group, out int groupId);
List<Group> GetGroups(int userId = -1);
Group GetGroup(int groupId);
OperationResponse UpdateGroup(Group group);
OperationResponse DeleteGroup(int groupId);
}