mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
rework messages
+ addition LocalStorageService + tests
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
using Microsoft.AspNetCore.Http; // для IFormFile
|
||||
|
||||
namespace Govor.API.Services;
|
||||
|
||||
public interface IStorageService
|
||||
{
|
||||
Task<string> SaveAsync(byte[] data, string fileName);
|
||||
Task<Stream> LoadAsync(string url);
|
||||
Task RemoveAsync(string url);
|
||||
}
|
||||
Reference in New Issue
Block a user