public IActionResult AddSheet() { string username = HttpContext.Session.GetString("username"); if (username != null && username != "") { sheetService.CreateDnDSheet(username, "New Sheet"); return(RedirectToAction("Index", "ModularSheet")); } return(RedirectToAction("Login", "Home")); }