using CPRNIMS.Infrastructure.Dto.Inventory; using CPRNIMS.Infrastructure.Dto.Inventory.Request; using CPRNIMS.Infrastructure.Entities.Inventory; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CPRNIMS.Domain.Contracts.Inventory { public interface IMRS { Task GetPagedAsync(MRSFilterDto filter, CancellationToken ct,int? departmentId = null, string? userName = ""); Task GetByIdAsync(long mrsId, CancellationToken ct); Task CreateAsync(CreateMRSRequest dto, string createdBy, CancellationToken ct); Task ApproveAsync(long mrsId, string approvedBy, CancellationToken ct); Task CancelAsync(CancelMRSRequest request, string canceledBy, CancellationToken ct); } }