Beispiel #1
0
 public ActionResult Post(string partition, string ID)
 {
     if (Request.IsAjaxRequest())
     {
         var data = CMS.GetPostContent(partition, ID);
         return(Content(data));
     }
     else
     {
         var data = CMS.GetPost(partition, ID);
         return(View(data));
     }
 }