mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 13:40:13 +01:00
CreateDatabase
Nic nie działa bo wszystko jest inne XDD
This commit is contained in:
@@ -24,7 +24,7 @@ namespace WebApp.Controllers
|
||||
{
|
||||
if (ModelState.IsValid)
|
||||
{
|
||||
ev.Date = DateTime.SpecifyKind(ev.Date, DateTimeKind.Utc);
|
||||
ev.EventDate = DateTime.SpecifyKind(ev.EventDate, DateTimeKind.Utc);
|
||||
_context.Events.Add(ev);
|
||||
await _context.SaveChangesAsync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user