コード例 #1
0
        public async Task <IEnumerable <ILink> > GetMyLinksAsync(ClaimsPrincipal user)
        {
            IGeneralUser generalUser = await _generalUsersService.FindByIdentityAsync(user);

            return(await _linkRepository.GetLinksByUserAsync(generalUser));
        }