2024-09-25 22:11:28 +02:00
|
|
|
using WatchIt.Common.Model.Photos;
|
|
|
|
|
|
2024-10-27 22:09:46 +01:00
|
|
|
namespace WatchIt.Website.Services.Client.Photos;
|
2024-09-25 22:11:28 +02:00
|
|
|
|
2024-10-27 22:09:46 +01:00
|
|
|
public interface IPhotosClientService
|
2024-09-25 22:11:28 +02:00
|
|
|
{
|
|
|
|
|
Task GetPhotoRandomBackground(Action<PhotoResponse>? successAction = null, Action? notFoundAction = null);
|
2024-09-27 01:05:06 +02:00
|
|
|
Task DeletePhoto(Guid id, Action? successAction = null, Action? unauthorizedAction = null, Action? forbiddenAction = null, Action? notFoundAction = null);
|
|
|
|
|
Task PutPhotoBackgroundData(Guid id, PhotoBackgroundDataRequest data, Action? successAction = null, Action<IDictionary<string, string[]>>? badRequestAction = null, Action? unauthorizedAction = null, Action? forbiddenAction = null, Action? notFoundAction = null);
|
|
|
|
|
Task DeletePhotoBackgroundData(Guid id, Action? successAction = null, Action? unauthorizedAction = null, Action? forbiddenAction = null, Action? notFoundAction = null);
|
2024-09-25 22:11:28 +02:00
|
|
|
}
|