Пример #1
0
        public async Task AddFriendToPerson(Guid personUid, Guid friendUid)
        {
            await _personRepository.AddFriendToPerson(personUid, friendUid, true);

            if (!(await _personRepository.CheckPersonFriendExistence(friendUid, personUid)))
            {
                await _personRepository.AddFriendToPerson(friendUid, personUid, false);
            }
        }