// GET: CloudStorageAccount
        public ActionResult Index()
        {
            var user = this.CurrentSecurityUser;
            if (user != null) {
                var model = new CloudStorageAccountIndexViewModel {
                    CloudStorageAccounts = user.CloudStorageAccounts.OrderBy(p => p.Alias).ToList()
                };

                return View(model);
            }

            return View();
            // CloudStorageAccounts = user.CloudStorageAccounts.OrderBy(p=>p.Alias).ToList()
        }
        // GET: CloudStorageAccount
        public ActionResult Index()
        {
            var user = this.CurrentSecurityUser;
            List<CloudStorageAccount> accounts;

            if (this.User.IsInRole("Developer"))
                accounts =  DBContext.CloudStorageAccounts.OrderBy(p => p.Alias).ToList();
            else
                accounts = user.CloudStorageAccounts.OrderBy(p => p.Alias).ToList();

            if (user != null) {
                var model = new CloudStorageAccountIndexViewModel {
                    CloudStorageAccounts = accounts
                };

                return View(model);
            }

            return View();
            // CloudStorageAccounts = user.CloudStorageAccounts.OrderBy(p=>p.Alias).ToList()
        }
 public ActionResult All() {
     var model = new CloudStorageAccountIndexViewModel {
         CloudStorageAccounts = DBContext.CloudStorageAccounts.OrderBy(p => p.Alias).ToList()
     };
     return View("Index", model);
 }