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("添加成功")); }
public void Add(AddNewsInput input) { this.InsertFromDto(input); }