shoc-backend/SeaHaven.Services/Interfaces/IVendorCompanyRosterService.cs

35 lines
1,020 B
C#
Raw Normal View History

using System.Security.Claims;
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,
ClaimsPrincipal caller,
CancellationToken cancellationToken);
Task<VendorRosterDTO> ReconcileRosterAsync(
int companyId,
ReconcileVendorRosterDTO dto,
string userId,
ClaimsPrincipal caller,
CancellationToken cancellationToken);
Task<VendorRosterDTO> AddTechniciansAsync(
int companyId,
AddTechniciansVendorRosterDTO dto,
string userId,
ClaimsPrincipal caller,
CancellationToken cancellationToken);
}
}