sozsoft-platform/api/src/Sozsoft.Platform.Application.Contracts/Intranet/IIntranetAppService.cs
2026-05-09 00:48:23 +03:00

22 lines
1 KiB
C#

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
namespace Sozsoft.Platform.Intranet;
public interface IIntranetAppService : IApplicationService
{
Task<IntranetDashboardDto> GetIntranetDashboardAsync();
Task<List<SocialPostDto>> GetIntranetSocialPostsAsync(int skipCount, int maxResultCount);
Task CreateSurveyResponseAsync(SubmitSurveyInput input);
Task<SocialPostDto> CreateSocialPostAsync(CreateSocialPostInput input);
Task DeleteSocialPostAsync(System.Guid id);
Task<SocialPostDto> LikeSocialPostAsync(System.Guid id);
Task<SocialCommentDto> CommentSocialPostAsync(System.Guid id, string content);
Task VoteSocialPollAsync(System.Guid postId, System.Guid optionId);
Task IncrementAnnouncementViewCountAsync(System.Guid id);
Task<List<EventCommentDto>> GetEventCommentsAsync(Guid eventId);
Task<EventCommentDto> CreateEventCommentAsync(Guid eventId, string content);
Task<EventDto> LikeEventAsync(Guid id);
}