public IActionResult UpdateGroup(Tright_Group model) { Tright_Group_Da da = new Tright_Group_Da(); da.Update(model); return(SuccessMessage("成功!")); }
public IActionResult AddGroup(Tright_Group model) { Tright_Group_Da da = new Tright_Group_Da(); da.Insert(model); return(SuccessMessage("添加成功!")); }