parent
3e4a6839ee
commit
05436c2faf
@ -18,8 +18,8 @@ namespace WindowsDataCenter
|
||||
[Route("")]
|
||||
public IHttpActionResult GetGroups()
|
||||
{
|
||||
var groups = _repo.GetGroups();
|
||||
return Ok(groups);
|
||||
var groupList = new GroupList {Groups = _repo.GetGroups()};
|
||||
return Ok(groupList);
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user