JsonElement instead of Request body Attachment Class Bump Ready to test GetLastGroupIdWithValue Changed to v4
20 lines
421 B
C#
20 lines
421 B
C#
namespace OI.Metrology.Shared.Models.Stateless;
|
|
|
|
public interface IFileShareController<T>
|
|
{
|
|
|
|
enum Action : int
|
|
{
|
|
Index = 0,
|
|
CopyFile = 1,
|
|
MoveFile = 2,
|
|
FileWrite = 3,
|
|
}
|
|
|
|
static string GetRouteName() => nameof(IFileShareController<T>)[1..^10];
|
|
|
|
T CopyFile(string from, string to);
|
|
T MoveFile(string from, string to);
|
|
T FileWrite(string path, string contents);
|
|
|
|
} |