using SIGCM.Domain.Entities;
using SIGCM.Domain.Models;

namespace SIGCM.Domain.Interfaces;

public interface IClaimRepository
{
  Task<int> CreateAsync(Claim claim);
  Task<IEnumerable<Claim>> GetByListingIdAsync(int listingId);
  Task<IEnumerable<Claim>> GetAllActiveAsync();
  Task UpdateStatusAsync(int claimId, string status, ResolveRequest request, int resolvedByUserId);
  Task<Claim?> GetByIdAsync(int id);
}