예제 #1
0
 public IHttpActionResult AddRmaComment([FromBody] OPC_RMAComment comment, [UserId] int uid)
 {
     return(DoAction(() =>
     {
         _rmaService.UserId = uid;
         comment.CreateDate = DateTime.Now;
         comment.CreateUser = uid;
         comment.UpdateDate = comment.CreateDate;
         comment.UpdateUser = comment.CreateUser;
         _rmaService.AddComment(comment);
     }, "增加退货单备注失败"));
 }
예제 #2
0
 public void AddComment(OPC_RMAComment comment)
 {
     _rmaCommentRepository.Create(comment);
 }