Click here to Skip to main content
15,885,881 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
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.


What I have tried:

I just described the question above.
Posted
Updated 25-Aug-17 0:29am

1 solution

Ask this question on that course, Udemy offers students to ask questions to their respective instructors — that is why you are paying them. Ask the question and they must respond, because they have been paid to do so.

You did not pay us, and that course was also not on CodeProject, which is why this question is off-topic. Sorry.

How to Use the Q&A – Udemy[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900