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