mirror of
https://github.com/XFox111/MuiCharts.git
synced 2026-04-22 06:51:05 +03:00
- Added /Import endpoints
- Minor refactoring and improved validation
This commit is contained in:
@@ -43,4 +43,11 @@ public interface ITrackRepository
|
||||
/// <param name="secondId">The second ID.</param>
|
||||
/// <returns>A task that represents the asynchronous operation. The task result contains the deletion status if successful, or an error if unsuccessful.</returns>
|
||||
Task<ErrorOr<Deleted>> DeleteTrackAsync(int firstId, int secondId);
|
||||
|
||||
/// <summary>
|
||||
/// Adds a range of tracks asynchronously.
|
||||
/// </summary>
|
||||
/// <param name="tracks">The tracks to add.</param>
|
||||
/// <returns>A task that represents the asynchronous operation. The task result contains the added tracks if successful, or an error if unsuccessful.</returns>
|
||||
Task<ErrorOr<IEnumerable<Track>>> AddTracksRangeAsync(IEnumerable<Track> tracks);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user