15 lines
581 B
C#
15 lines
581 B
C#
namespace qtc_api.Services.BucketService
|
|
{
|
|
public interface IBucketService
|
|
{
|
|
public string ServiceUrl { get; }
|
|
public string AccessKey { get; }
|
|
public string SecretKey { get; }
|
|
public string ProfileImagesBucketName { get; }
|
|
public string ImagesBucketName { get; }
|
|
public Task<bool> PutProfileImage(string userId, string imageName, byte[] imageBytes);
|
|
public Task<byte[]?> GetProfileImageBytes(string userId, string imageName);
|
|
public Task<bool> DeleteProfileImage(string userId, string imageName);
|
|
}
|
|
}
|