public List<Community> GetMoreCreatedByUser(int userId, int skip) { using (var svc = new ServiceProxyHelper<ICommunityService>("CommunityService")) { return svc.Proxy.GetMoreCreatedByUser(userId, skip); } }
public ChatMessage AddChatMessage(ChatMessage chatMessage) { using (var svc = new ServiceProxyHelper<IChatMessagesService>("ChatMessagesService")) { return svc.Proxy.AddChatMessage(chatMessage); } }
public List<ChatMessage> GetMoreChatMessagesByUserIds(int fromUserId, int toUserId, int skip = 25) { using (var svc = new ServiceProxyHelper<IChatMessagesService>("ChatMessagesService")) { return svc.Proxy.GetMoreChatMessagesByUserIds(fromUserId, toUserId, skip); } }
public Community Add(Community community) { using (var svc = new ServiceProxyHelper<ICommunityService>("CommunityService")) { return svc.Proxy.Add(community); } }
public ChatMessagesList GetChatMessagesListByUsername(string username) { using (var svc = new ServiceProxyHelper<IChatMessagesService>("ChatMessagesService")) { return svc.Proxy.GetChatMessagesListByUsername(username); } }
public Address Update(Address address) { using (var svc = new ServiceProxyHelper<IAddressService>("AddressService")) { return svc.Proxy.Update(address); } }
public List<Post> GetMorePostsByUser(int userId, int skip) { using (var svc = new ServiceProxyHelper<IPostsService>("PostsService")) { return svc.Proxy.GetMorePostsByUser(userId, skip); } }
public bool GetHeartBeat() { using (var svc = new ServiceProxyHelper<IChatMessagesService>("ChatMessagesService")) { return svc.Proxy.GetHeartBeat(); } }
public Post GetPost(int postId) { using (var svc = new ServiceProxyHelper<IPostsService>("PostsService")) { return svc.Proxy.GetPost(postId); } }
public List<Post> GetPostsByCommunity(int communityId, int threshold = 10, int skip = 10) { using (var svc = new ServiceProxyHelper<IPostsService>("PostsService")) { return svc.Proxy.GetPostsByCommunity(communityId, threshold, skip); } }
public void Add(ViewCount viewCount) { using (var svc = new ServiceProxyHelper<IViewCountService>("ViewCountService")) { svc.Proxy.Add(viewCount); } }
public bool Delete(int hobbyId) { using (var svc = new ServiceProxyHelper<IHobbyService>("HobbyService")) { return svc.Proxy.Delete(hobbyId); } }
public bool GetHeartBeat() { using (var svc = new ServiceProxyHelper<IPostLikesService>("PostLikesService")) { return svc.Proxy.GetHeartBeat(); } }
public List<ViewCount> Get(int postId) { using (var svc = new ServiceProxyHelper<IViewCountService>("ViewCountService")) { return svc.Proxy.Get(postId); } }
public void Add(PostLike postLike) { using (var svc = new ServiceProxyHelper<IPostLikesService>("PostLikesService")) { svc.Proxy.Add(postLike); } }
public List<PostLike> Get(int postId) { using (var svc = new ServiceProxyHelper<IPostLikesService>("PostLikesService")) { return svc.Proxy.Get(postId); } }
public bool Delete(int addressId) { using (var svc = new ServiceProxyHelper<IAddressService>("AddressService")) { return svc.Proxy.Delete(addressId); } }
public List<Hobby> GetByUser(int userId) { using (var svc = new ServiceProxyHelper<IHobbyService>("HobbyService")) { return svc.Proxy.GetByUser(userId); } }
public bool GetHeartBeat() { using (var svc = new ServiceProxyHelper<IViewCountService>("ViewCountService")) { return svc.Proxy.GetHeartBeat(); } }
public Hobby Update(Hobby hobby) { using (var svc = new ServiceProxyHelper<IHobbyService>("HobbyService")) { return svc.Proxy.Update(hobby); } }
public Community Get(int communityId) { using (var svc = new ServiceProxyHelper<ICommunityService>("CommunityService")) { return svc.Proxy.Get(communityId); } }
public bool GetHeartBeat() { using (var svc = new ServiceProxyHelper<IHobbyService>("HobbyService")) { return svc.Proxy.GetHeartBeat(); } }
public List<Community> GetList() { using (var svc = new ServiceProxyHelper<ICommunityService>("CommunityService")) { return svc.Proxy.GetList(); } }
public RelatedPosts GetRelatedPosts(int postId) { using (var svc = new ServiceProxyHelper<IPostsService>("PostsService")) { return svc.Proxy.GetRelatedPosts(postId); } }
public List<Community> GetMore(int skip) { using (var svc = new ServiceProxyHelper<ICommunityService>("CommunityService")) { return svc.Proxy.GetMore(skip); } }
public List<Post> GetMorePostsByTag(string tagName, int skip) { using (var svc = new ServiceProxyHelper<IPostsService>("PostsService")) { return svc.Proxy.GetMorePostsByTag(tagName, skip); } }
public List<Community> GetJoinedByUser(int userId) { using (var svc = new ServiceProxyHelper<ICommunityService>("CommunityService")) { return svc.Proxy.GetJoinedByUser(userId); } }
public List<Post> GetMorePopularPosts(int postsCount, int skip) { using (var svc = new ServiceProxyHelper<IPostsService>("PostsService")) { return svc.Proxy.GetMorePopularPosts(postsCount, skip); } }
public List<ChatMessage> GetMoreChatMessagesByUsernames(string fromUsername, string toUsername, int skip = 25) { using (var svc = new ServiceProxyHelper<IChatMessagesService>("ChatMessagesService")) { return svc.Proxy.GetMoreChatMessagesByUsernames(fromUsername, toUsername, skip); } }
public ChatMessagesList GetChatMessagesListByUserId(int userId) { using (var svc = new ServiceProxyHelper<IChatMessagesService>("ChatMessagesService")) { return svc.Proxy.GetChatMessagesListByUserId(userId); } }
public static MvcHtmlString FacebookProfileImage(this ServiceProxyHelper helper, string id, object htmlAttributes = null) { return(new TagBuilder("img") .Attr("src", string.Format(ProfileImageUrlFormat, id)) .AttrsIf(htmlAttributes != null, htmlAttributes) .ToHtml()); }
public static MvcHtmlString Analytics(this ServiceProxyHelper helper, string trackingId) { return(new TagBuilder("script") .Attr("type", "text/javascript") .Html(@" var _gaq = _gaq || []; _gaq.push(['_setAccount', '" + MvcHtmlString.Create(trackingId).ToString() + @"']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); ") .ToHtml()); }
GetImageEntriesResult IStudyStoreQuery.GetImageEntries(GetImageEntriesRequest request) { return(ServiceProxyHelper.Call(GetImageEntries, request)); }
GetStudyCountResult IStudyStoreQuery.GetStudyCount(GetStudyCountRequest request) { return(ServiceProxyHelper.Call(GetStudyCount, request)); }
public static MvcHtmlString FacebookProfileImage(this ServiceProxyHelper helper, object htmlAttributes = null) { return(helper.FacebookProfileImage("me", htmlAttributes)); }