using TIAM.Entities.Transfers; using TIAM.Entities.Users; namespace TIAM.Services.Interfaces; public interface ITransferApiControllerCommon { #region Transfers public Task> GetTransfers(); public Task> GetTransfersByFilterText(string criteriaOperatorText); public Task> GetTransfersByUserId(Guid userId); public Task GetTransfersByDriverId(Guid userProductMappingId); public Task GetTransferById(Guid transferId); public Task UpdateTransfer(Transfer transfer); public Task RemoveTransfer(Transfer transfer); #endregion Transfers #region Drivers public Task> GetAllDrivers(); public Task> GetAllDriversByProductId(Guid productId); public Task GetTransferDriver(Guid transferDriverId); public Task> GetTransferDrivers(Guid transferId); public Task AddTransferDriver(TransferToDriver transferToDriver); public Task UpdateTransferDriver(TransferToDriver transferToDriver); public Task RemoveTransferDriver(TransferToDriver transferToDriver); #endregion Drivers #region TransferDestination public List GetTransferDestinations(); public Task GetTransferDestinationById(Guid transferDestinationId); public Task CreateTransferDestination(TransferDestination transferDestination); public Task UpdateTransferDestination(TransferDestination transferDestination); public Task RemoveTransferDestination(TransferDestination transferDestination); public Task> GetAllTransferDestinationToProducts(); public Task> GetTransferDestinationToProductsByProductId(Guid productId); public Task> GetTransferDestinationToProductsByTransferDestinationId(Guid transferDestinationId); public Task GetTransferDestinationToProductById(Guid transferDestinationToProductId); public Task CreateTransferDestinationToProduct(TransferDestinationToProduct transferDestinationToProduct); public Task UpdateTransferDestinationToProduct(TransferDestinationToProduct transferDestinationToProduct); public Task RemoveTransferDestinationToProduct(TransferDestinationToProduct transferDestinationToProduct); #endregion TransferDestination }