oi-metrology/Shared/Models/Stateless/IFileShareController.cs
Mike Phares 6317c385f6 Separated Wafer-Counter
JsonElement instead of Request body
Attachment Class
Bump
Ready to test GetLastGroupIdWithValue
Changed to v4
2024-05-21 12:40:20 -07:00

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