/// <summary> /// 新建 /// </summary> public void Addgroupuser(Groupuser groupuser) { //int id = GetId("groupuser"); //groupuser.GroupUserId = id; ExecuteInsert("InsertGroupuser", groupuser); }
public Task <bool> AddToMemberGroup(int groupId, int userId) { var data = new Groupuser { GroupId = groupId, UserId = userId }; try { return(Task.FromResult(false)); } catch (Exception ex) { throw new SystemException(ex.Message); } }
/// <summary> /// 修改 /// </summary> public void Updategroupuser(Groupuser groupuser) { ExecuteUpdate("UpdateGroupuser", groupuser); }