public IActionResult LoadAssignments()
        {
            Guid id = albaCredentialService.GetAlbaAccountIdFor(User.Identity.Name);

            Load(id);

            // TODO: Use with React or other UI
            // return new LoadAssignmentsResult() { Successful = true };
            return(Redirect("/Home/Load"));
        }
        protected IEnumerable <Assignment> GetAllAssignments()
        {
            Guid   albaAccountId = albaCredentialService.GetAlbaAccountIdFor(User.Identity.Name);
            string path          = string.Format(
                options.AlbaAssignmentsHtmlPath,
                albaAccountId);

            if (!io.File.Exists(path))
            {
                LoadAssignmentData();
            }

            // TODO: Probably don't need a dependency on client here
            var useCase = new DownloadTerritoryAssignments(AuthClient());

            string html = io.File.ReadAllText(path);

            return(useCase.GetAssignments(html));
        }