public async Task <IActionResult> Index() { if (AuthHandler.CheckIfAdmin(this)) { List <User> users = await sqlTheaterData.OnGetUsers(); return(base.View(users)); } else { return(StatusCode(403)); } }