first time include all file

This commit is contained in:
2026-06-18 21:39:20 +10:00
commit d48a07a0fe
285 changed files with 31416 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
using System;
namespace CarParkValidationAPI.Helpers;
public class Helper
{
public static string DateToStr(DateTime? date)
{
string result = "";
if (date != null)
result = date?.ToString("yyyy-MM-dd");
return result;
}
public static DateTime StrToDate(string date)
{
DateTime result = DateTime.Today;
if (DateTime.TryParse(date, out var dt))
{
result = dt;
}
return result;
}
}