Prvi commit

This commit is contained in:
David Štaleker
2023-05-12 09:00:07 +02:00
parent d3ffe93e42
commit 03b92525d7
14757 changed files with 9251133 additions and 53 deletions

12
EveryThing/Notes.txt Normal file
View File

@@ -0,0 +1,12 @@
/// logging model error
private readonly ILogger<CreateModel> _logger;
_logger.LogInformation("DODAJAM");
foreach (var modelState in ModelState.Values)
{
foreach (var error in modelState.Errors)
{
_logger.LogInformation(error.ErrorMessage);
}
}