Ejemplo n.º 1
0
 public override System.Web.Mvc.ActionResult AddCategory(GMSBlog.Model.Entities.Category category) {
     var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.AddCategory);
     callInfo.RouteValueDictionary.Add("category", category);
     return callInfo;
 }
Ejemplo n.º 2
0
 public override System.Web.Mvc.ActionResult EditPost(GMSBlog.Model.Entities.Post post, System.Web.Mvc.FormCollection collection) {
     var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.EditPost);
     callInfo.RouteValueDictionary.Add("post", post);
     callInfo.RouteValueDictionary.Add("collection", collection);
     return callInfo;
 }
Ejemplo n.º 3
0
 public override System.Web.Mvc.ActionResult AddComment(int postId, GMSBlog.Model.Entities.Comment comment) {
     var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.AddComment);
     callInfo.RouteValueDictionary.Add("postId", postId);
     callInfo.RouteValueDictionary.Add("comment", comment);
     return callInfo;
 }