Exemple #1
0
        public ActionResult Edit(int id)
        {
            string role = new Business.AccountBusiness().currentMember();

            if (role == "U" || role == "A")
            {
                return(RedirectToAction("Login", "Account"));
            }
            var area = webApi.GetArea(id);

            return(View(area));
        }