Add contact controller
This commit is contained in:
13
Models/Contact.cs
Normal file
13
Models/Contact.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace weddingapi
|
||||
{
|
||||
public record Contact
|
||||
{
|
||||
public Guid Id { get; init; }
|
||||
public string From { get; init; }
|
||||
public string Email { get; init; }
|
||||
public string Message { get; init; }
|
||||
public DateTimeOffset CreatedDate { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user