Skip to content

Commit 8be80d6

Browse files
committed
Fixed the issue with the User group creation from the Admin UI
1 parent 9aeeb91 commit 8be80d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WebAPI/LearningHub.Nhs.API/Controllers/UserGroupController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public async Task<IActionResult> GetRoleUserGroupDetail()
102102
/// <returns>The <see cref="Task"/>.</returns>
103103
[HttpPost]
104104
[Route("CreateUserGroup")]
105-
public async Task<IActionResult> CreateUserGroupAsync(UserGroupAdminDetailViewModel userGroup)
105+
public async Task<IActionResult> CreateUserGroupAsync([FromBody]UserGroupAdminDetailViewModel userGroup)
106106
{
107107
var vr = await this.userGroupService.CreateUserGroupAsync(userGroup, this.CurrentUserId);
108108
if (vr.IsValid)

0 commit comments

Comments
 (0)