1
0
mirror of https://github.com/C9Glax/tranga.git synced 2025-04-30 04:02:26 +02:00

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