public ActionResult Add(AddPro_SortInput input) { if (string.IsNullOrEmpty(input.Pid)) { input.Pid = "0"; } input.ShopID = this.CurrentSession.ShopID; this.Service.Add(input); return(this.AddSuccessMsg()); }
public void Add(AddPro_SortInput input) { this.InsertFromDto(input); }