コード例 #1
0
 public RedirectToRouteResult AddComment(Guid workOrderId, string comment, HttpPostedFileBase attachment)
 {
     _workOrderService.AddComment(workOrderId, GetCurrentCustomerId(), comment, attachment);
     return(RedirectToAction("Details", new { id = workOrderId }));
 }