majlis / Services /Interfaces /IComplaintService.cs
almakhmri253-stack
security hardening: rate limiting, account lockout, security headers, password strength
8a2f194
Raw History Blame Contribute Delete
495 Bytes
using MajlisManagement.DTOs;
namespace MajlisManagement.Services.Interfaces;
public interface IComplaintService
{
Task<ComplaintResponseDto> CreateAsync(int? userId, CreateComplaintDto dto);
Task<List<ComplaintResponseDto>> GetAllAsync();
Task<List<ComplaintResponseDto>> GetPublicAsync();
Task<ComplaintResponseDto> GetByIdAsync(int id);
Task<ComplaintResponseDto> RespondAsync(int id, RespondComplaintDto dto);
Task<ComplaintResponseDto> TogglePublicAsync(int id);
}