public IActionResult Create() { if (HttpContext.Session.GetString("ID") == null) { return(RedirectToAction("Login", "Admin")); } else { ViewBag.listAllCities = officeRepository.listAllCities(); return(View()); } }