using System.Threading;
using System.Threading.Tasks;
using GB5Shared.DTO.Framework.Login;
namespace WiDAL.CustomCode.Promotion
{
/// Resolves MDEPARTMENT.DepartmentId <-> DepartmentCode — a small, dedicated
/// lookup queried directly against the shared table, same convention as every other
/// Promotion code-lookup DAL (never routed through Admin's own BLL/DAL — that module lives in
/// a separate Host process entirely).
public interface IDepartmentCodeLookupDAL
{
Task GetDepartmentCodeById(int departmentId, LoginDTO login, CancellationToken ct);
Task GetDepartmentIdByCode(string departmentCode, LoginDTO login, CancellationToken ct);
}
}