using CPRNIMS.Infrastructure.Dto.Inventory; using CPRNIMS.Infrastructure.Dto.Inventory.Request; using CPRNIMS.Infrastructure.Dto.Inventory.Response; using CPRNIMS.Infrastructure.Entities.Inventory; using CPRNIMS.Infrastructure.Entities.Purchasing; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CPRNIMS.Domain.Contracts.Inventory { public interface IRIS { Task GetPagedAsync(RISFilterDto filter, CancellationToken ct, int? departmentId = null, string? userName = ""); Task GetByIdAsync(long risId, CancellationToken ct); Task CreateAsync(CreateRISRequest dto, string createdBy, CancellationToken ct); Task ApproveAsync(ApproveRISRequest request, string approvedBy, CancellationToken ct); Task CancelAsync(CancelRISRequest request,string canceledBy, CancellationToken ct); } }