public AgeGroupModelWrapper()
 {
     Value    = new AgeGroupModel();
     IsNew    = true;
     ReadOnly = false;
     ToDelete = false;
 }
 public AgeGroupModelWrapper(AgeGroupModel model, bool isNew = false, bool readOnly = false)
 {
     this.Value               = model;
     this.IsNew               = isNew;
     this.ReadOnly            = readOnly;
     this.ToDelete            = false;
     this.SecretaryNameChange = model.SecretaryName;
     this.FullNameChange      = model.FullName;
     this.GenderChange        = model.GenderProperty.GetFriendlyValue();
     this.MinAgeChange        = model.MinAge.GetStringValue();
     this.MaxAgeChange        = model.MaxAge.GetStringValue();
 }
 public CompetitionGroupEditModel(AgeGroupModel model)
 {
     this.AgeGroup  = model;
     this.Confirmed = false;
 }