public bool GroupUpdate(tbl_FriendGroups group) { _rabbitDB.Send("Im-FriendController", new { ParamsType = "GroupUpdate", ParamsData = group }); return(true); }
public tbl_FriendGroups GroupInsert(tbl_FriendGroups group) { group.GroupID = Guid.NewGuid().ToString(); group.GroupUserID = _userContext.UserId; group.GroupDate = DateTime.Now; _rabbitDB.Send("Im-FriendController", new { ParamsType = "GroupInsert", ParamsData = group }); return(group); }