rework messages

+ addition LocalStorageService
+ tests
This commit is contained in:
Artemy
2025-06-21 14:53:15 +07:00
parent 3f1c050149
commit 7831e4838a
16 changed files with 204 additions and 13 deletions
+10
View File
@@ -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);
}