Beispiel #1
0
        public ActionResult PSCNotes(int Id = 1)
        {
            var q = TopicNotesRepo.getTopicmasterdata(Id);

            ViewBag.Title           = q.TopicName + " Questions";
            ViewBag.MetaDescription = q.TopicDescription + " Questions";
            ViewBag.MetaKeywords    = q.TopicName + "," + q.TopicDescription + "free online PSC Questions";

            ViewBag.Heading = q.TopicName + " Questions  Online ";
            ViewBag.uri     = "/api/TopicNotesDataApi/get?id=" + Id + "";

            ViewBag.param = "{ id:  " + Id + " }";
            return(View());
        }
 public List <TopicNoteCommentVM> Post(TopicNoteCommentVM topicNoteCommentVM)
 {
     return(TopicNotesRepo.AddComment(topicNoteCommentVM));
 }
 // GET api/<controller>/5
 public TopicMasterVM Get(int id)
 {
     return(TopicNotesRepo.GetNotes(id));
 }