public IActionResult GetMembers([FromRoute] int groupId)
        {
            var members       = _relationshipCoreController.GetRelatedActors(groupId, ActorType.User);
            var actorContract = members.ToActorContractList();

            return(new ObjectResult(actorContract));
        }
Пример #2
0
        public IActionResult GetFriends([FromRoute] int userId)
        {
            var actor         = _relationshipCoreController.GetRelatedActors(userId, ActorType.User);
            var actorContract = actor.ToActorContractList();

            return(new ObjectResult(actorContract));
        }