public async Task <IEnumerable <ILink> > GetMyFavoriteLinksAsync(ClaimsPrincipal user) { IGeneralUser generalUser = await _generalUsersService.FindByIdentityAsync(user); return(await _linkRepository.GetFavoriteLinksByUserAsync(generalUser)); }
public async Task <IEnumerable <ILink> > GetMyFavoriteLinksAsync(ClaimsPrincipal user) { IGeneralUser generalUser = await _generalUsersService.FindByIdentityAsync(user); return(await _linkRepository.GetFavoriteLinksByUserAsync(generalUser)); }