ddgjgj Ответов: 1

Asp.net MVC cms, добавление страниц в cms


So i have i questions , i saw this course https://www.udemy.com/aspnet-mvc-5-project-cms-and-shopping-cart-with-paypal/ , at the 4th minute of the video it shows how to add pages dynamically to CMS ,ofc in the admin panel or by admin role ,  can you provide me any source code / tutorial / help how can i achieve that ?!

I am building a simple cms in asp.net mvc5 , so i finished the News Part , Now i am working with PageConfig Controller , and this is the PageConfig Class :


//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated from a template.
//
//     Manual changes to this file may cause unexpected behavior in your application.
//     Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
 
namespace CMSFC.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.Web.Mvc;
 
    [Bind(Exclude = "Id")]
    public partial class PageConfig
    {
 
        [ScaffoldColumn(false)]
        public int Id { get; set; }
        public string PageId { get; set; }
        public string Control { get; set; }
        public string Content { get; set; }
        public string Placeholder { get; set; }
        public Nullable<int> NrOfRecords { get; set; }
    }
}




I would be very thankful for any help.

Regards.


Что я уже пробовал:

Я только что описал этот вопрос выше.

1 Ответов

Рейтинг:
1

Afzaal Ahmad Zeeshan

Задавайте этот вопрос на этом курсе, Udemy предлагает студентам задавать вопросы своим соответствующим преподавателям-вот почему вы им платите. Задайте вопрос, и они должны ответить, потому что им за это заплатили.

Вы не заплатили нам, и этот курс также не был посвящен CodeProject, поэтому этот вопрос не по теме. Извиняюсь.

Как использовать Q& A-Udemy[^]