public ActionResult <List <PermissionGroup> > GetPermissions() { return(Ok(ApplicationPermissions.GetAllPermissions())); }