Get items stored and retrieved from the db

This commit is contained in:
TheXamlGuy
2024-05-12 14:50:10 +01:00
parent a44391f4d5
commit 4171a31f85
2 changed files with 13 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
namespace Toolkit.Foundation;
public record Confirm<TValue>(TValue Value);
public record Confirm
{
public static Confirm<TValue> As<TValue>(TValue value) =>
new(value);
public static Confirm<TValue> As<TValue>() where TValue : new() =>
new(new TValue());
}