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; }
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; }
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; }