Teams creation and prizes creation are implemented
This commit is contained in:
19
MVCUI/Models/TeamMVCModel.cs
Normal file
19
MVCUI/Models/TeamMVCModel.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace MVCUI.Models
|
||||
{
|
||||
public class TeamMVCModel
|
||||
{
|
||||
[Display(Name = "Team Name")]
|
||||
[StringLength(100, MinimumLength = 2)]
|
||||
[Required]
|
||||
public string TeamName { get; set; }
|
||||
[Display(Name = "Team Member List")]
|
||||
public List<SelectListItem> TeamMembers { get; set; } = new List<SelectListItem>();
|
||||
|
||||
public List<string> SelectedTeamMembers { get; set; } = new List<string>();
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user