Upload project.

This commit is contained in:
StevenJW
2020-06-07 22:36:12 +01:00
parent 0df30b8f36
commit 5829fb5504
170 changed files with 31989 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using ThAmCo.Events.Data;
namespace ThAmCo.Events.Models
{
public class CustomerCreateModel
{
public int Id { get; set; }
[Required]
public string Surname { get; set; }
[Required]
public string FirstName { get; set; }
[Required]
[DataType(DataType.EmailAddress)]
public string Email { get; set; }
public List<Event> Events { get; set; }
public int InitialEvent { get; set; }
}
}