extend interface to retrieve a single group by Id.
extend GetUsers to accept a groupId parameter. #64
This commit is contained in:
parent
88b62a23a3
commit
199c5e965a
@ -12,7 +12,7 @@ namespace Interfaces
|
|||||||
/// Returns <see cref="UserList"/> with full list of users,
|
/// Returns <see cref="UserList"/> with full list of users,
|
||||||
/// 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, int groupId = -1);
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Search the user list for the following string
|
/// Search the user list for the following string
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -99,6 +99,7 @@ namespace Interfaces
|
|||||||
|
|
||||||
OperationResponse CreateGroup(Group group, out int groupId);
|
OperationResponse CreateGroup(Group group, out int groupId);
|
||||||
List<Group> GetGroups(int userId = -1);
|
List<Group> GetGroups(int userId = -1);
|
||||||
|
Group GetGroup(int groupId);
|
||||||
OperationResponse UpdateGroup(Group group);
|
OperationResponse UpdateGroup(Group group);
|
||||||
OperationResponse DeleteGroup(int groupId);
|
OperationResponse DeleteGroup(int groupId);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user