forked from Sarah/Lieb-Website
fixed minuser calculations
This commit is contained in:
parent
715b14ecc5
commit
6d6e720695
3 changed files with 8 additions and 8 deletions
|
@ -20,6 +20,8 @@ namespace Lieb.Models.GuildWars2.Raid
|
|||
|
||||
public ICollection<RaidSignUp> SignUps { get; set; } = new HashSet<RaidSignUp>();
|
||||
|
||||
public bool HasEnoughUsers {get{ return SignUps.Where(s => s.SignUpType != SignUpType.SignedOff && s.SignUpType != SignUpType.Flex).Count() >= this.MinUsers;}}
|
||||
|
||||
public Raid() { }
|
||||
|
||||
public Raid(RaidTemplate template) : base(template, template.TimeZone, true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue