public ActionResult Menu()
 {
     var list = new OpenIdConnectClientIndexViewModel(this.repository);
     if (list.Clients.Any())
     {
         var vm = new ChildMenuViewModel
         {
             Items = list.Clients.Select(x =>
                 new ChildMenuItem
                 {
                     Controller = "OpenIdConnectClient",
                     Action = "Edit",
                     Title = x.Name,
                     RouteValues = new { clientId = x.ClientId }
                 }).ToArray()
         };
         return PartialView("ChildMenu", vm);
     }
     return new EmptyResult();
 }
 public ActionResult Index()
 {
     var vm = new OpenIdConnectClientIndexViewModel(this.repository);
     return View("Index", vm);
 }