1
0
mirror of https://github.com/C9Glax/tranga.git synced 2025-07-07 03:14:17 +02:00
Files
Tranga/API/APIEndpointRecords/NewLibraryRecord.cs

13 lines
298 B
C#

namespace API.APIEndpointRecords;
public record NewLibraryRecord(string path, string name)
{
public bool Validate()
{
if (path.Length < 1) //TODO Better Path validation
return false;
if (name.Length < 1)
return false;
return true;
}
}