21 lines
937 B
C#
21 lines
937 B
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 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);
|
|
}
|