Files
WatchIt/WatchIt.Website/WatchIt.Website.Services/WatchIt.Website.Services.Client/Photos/IPhotosClientService.cs

11 lines
838 B
C#
Raw Normal View History

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);
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
}