public FavoriteLinkDataContract[] GetRecentFavoriteLinkCollection( long profileId, int startDaysBack, int endDaysBack) { Trace.WriteLine("GetRecentFavoriteLinkCollection"); FavoriteLinkDomain domain = new FavoriteLinkDomain(); FavoriteLinkCollection favoriteLinks = domain.GetRecentFavoriteLinkCollection(profileId, startDaysBack, endDaysBack); return(GetFavoriteLinksArray(favoriteLinks)); }
public void SetUp() { domain = new FavoriteLinkDomain(); _userId1 = new Guid("{E18369A7-99F7-486d-8F0B-96347ABF04ED}"); _userId2 = new Guid("{E18369A7-99F7-486d-8F0B-96347ABF04EE}"); _profileId1 = domain.GetFavoriteLinkProfileID(_userId1); _profileId2 = domain.GetFavoriteLinkProfileID(_userId2); }
public FavoriteLinkDataContract[] GetFavoriteLinkCollectionByUrl( long profileId, string url) { Trace.WriteLine("GetFavoriteLinkCollectionByUrl"); FavoriteLinkDomain domain = new FavoriteLinkDomain(); FavoriteLinkCollection favoriteLinks = domain.GetFavoriteLinkCollectionByUrl(profileId, url); return(GetFavoriteLinksArray(favoriteLinks)); }
public FavoriteLinkDataContract[] GetFavoriteLinkCollectionByTag( long profileId, string token) { Trace.WriteLine("GetFavoriteLinkCollectionByTag"); FavoriteLinkDomain domain = new FavoriteLinkDomain(); FavoriteLinkCollection favoriteLinks = domain.GetFavoriteLinkCollectionByTag(profileId, token); return(GetFavoriteLinksArray(favoriteLinks)); }
public FavoriteLinkDataContract[] GetLatest20FavoriteLinkCollection( long profileId) { Trace.WriteLine("GetLatest20FavoriteLinkCollection"); FavoriteLinkDomain domain = new FavoriteLinkDomain(); FavoriteLinkCollection favoriteLinks = domain.GetLatest20FavoriteLinkCollection(profileId); return(GetFavoriteLinksArray(favoriteLinks)); }
public void TearDown() { domain.PurgeProfile(_profileId1); domain.PurgeProfile(_profileId2); domain = null; }