CSP_Web.Controllers.HomeController.Index C# (CSharp) Method

Index() public method

public Index ( bool Reinitialize = false ) : System.Web.Mvc.ActionResult
Reinitialize bool
return System.Web.Mvc.ActionResult
        public ActionResult Index(bool Reinitialize = false)
        {
            if (Reinitialize)
            {
                graphService.Initialize(resellerService.tenant_name, resellerService.crest_app_id, resellerService.crest_app_key);
                crestService.Initialize(graphService.oauth_token.token, resellerService.crest_account_id);
            }

            return View(resellerService);
        }