sozsoft-platform/api/src/Sozsoft.Platform.Application.Contracts/Intranet/IIntranetAppService.cs

23 lines
1 KiB
C#
Raw Normal View History

2026-05-07 14:25:06 +00:00
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);
2026-05-06 13:47:18 +00:00
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);
2026-05-07 14:25:06 +00:00
Task<List<EventCommentDto>> GetEventCommentsAsync(Guid eventId);
Task<EventCommentDto> CreateEventCommentAsync(Guid eventId, string content);
2026-05-08 18:11:56 +00:00
Task<EventDto> LikeEventAsync(Guid id);
}