public override System.Web.Mvc.ActionResult LogOn(TicketDesk.Web.Client.Models.LogOnModel model, string returnUrl) {
     var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.LogOn);
     callInfo.RouteValueDictionary.Add("model", model);
     callInfo.RouteValueDictionary.Add("returnUrl", returnUrl);
     return callInfo;
 }
 public override System.Web.Mvc.ActionResult ChangePassword(TicketDesk.Web.Client.Models.ChangePasswordModel model) {
     var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.ChangePassword);
     callInfo.RouteValueDictionary.Add("model", model);
     return callInfo;
 }
 public override System.Web.Mvc.ActionResult DeleteUser(TicketDesk.Web.Client.Areas.Admin.Models.SecurityManagementUserViewModel user) {
     var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.DeleteUser);
     callInfo.RouteValueDictionary.Add("user", user);
     return callInfo;
 }
 public override System.Web.Mvc.ActionResult Edit(TicketDesk.Domain.Models.Setting setting) {
     var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.Edit);
     callInfo.RouteValueDictionary.Add("setting", setting);
     return callInfo;
 }
 public override System.Web.Mvc.ActionResult Create(TicketDesk.Domain.Models.Ticket ticket) {
     var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.Create);
     callInfo.RouteValueDictionary.Add("Ticket", ticket);
     return callInfo;
 }
Exemplo n.º 6
0
 protected string TicketNotificationTexxtEmailContent(TicketDesk.Domain.Models.TicketEventNotification notification, int firstUnsentCommentId)
 {
     var controller = new EmailTemplateController();
     return controller.GenerateTicketNotificationTextEmailBody(notification, firstUnsentCommentId);
 }