예제 #1
0
        public ActionResult Add(AddNewsInput modle)
        {
            modle.CreateDate = DateTime.Now;
            modle.CreateID   = this.CurrentSession.UserId;
            modle.ShopID     = this.CurrentSession.ShopID;
            this.Service.Add(modle);

            return(this.SuccessMsg("添加成功"));
        }
예제 #2
0
 public void Add(AddNewsInput input)
 {
     this.InsertFromDto(input);
 }