Beispiel #1
0
 public bool GroupUpdate(tbl_FriendGroups group)
 {
     _rabbitDB.Send("Im-FriendController", new
     {
         ParamsType = "GroupUpdate",
         ParamsData = group
     });
     return(true);
 }
Beispiel #2
0
 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);
 }