Пример #1
0
 public ActionResult About()
 {
     // Breadcrumb
     ViewBag.Breadcrumb = new List <Breadcrumb> {
         new Breadcrumb {
             Title = "صفحه اصلی", Url = "/", Position = 1
         },
         new Breadcrumb {
             Title = "درباره ما", Url = Url.Action(nameof(About), "Home"), Position = 2
         }
     };
     return(View(model: AboutUs_Tb.Read()));
 }
 // GET: Admin/AboutUs
 public ActionResult Index()
 {
     ViewBag.userName = User.Identity.Name;
     return(View(model: AboutUsTable.Read()));
 }