mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-02 07:23:21 +00:00
* feat(vendors): add company roster management * fix(security): remove request-controlled write guards * fix(vendors): synchronize roster company fields * fix(vendors): source facets from companies
24 lines
679 B
C#
24 lines
679 B
C#
using SeaHaven.Services.DTOs;
|
|
|
|
namespace SeaHaven.Services.Interfaces
|
|
{
|
|
public interface IVendorCompanyRosterService
|
|
{
|
|
Task<VendorRosterDTO?> GetRosterAsync(
|
|
int? vendorId,
|
|
int? companyId,
|
|
string userId,
|
|
CancellationToken cancellationToken);
|
|
|
|
Task<VendorRosterDTO> CreateRosterAsync(
|
|
CreateVendorRosterDTO dto,
|
|
string userId,
|
|
CancellationToken cancellationToken);
|
|
|
|
Task<VendorRosterDTO> ReconcileRosterAsync(
|
|
int companyId,
|
|
ReconcileVendorRosterDTO dto,
|
|
string userId,
|
|
CancellationToken cancellationToken);
|
|
}
|
|
}
|