コード例 #1
0
 public VerificationEmailController(ISendingVerifyingEmail isendingE, IUniqueException _ithrow,
                                    ISendingConfirmationRegistrationEmail _isending, IExceptionBase _erorBase, IAddZawodnik iaddZaw,
                                    IUniqueException iUexecp)
 {
     this._ithrow      = _ithrow;
     this._isendingVer = isendingE;
     this._isendingEnd = _isending;
     this._ierorBase   = _erorBase;
     this._iaddZaw     = iaddZaw;
     this._iUexecp     = iUexecp;
 }
コード例 #2
0
        public RegistrationParticipantController(
            IInfoAboutParticipant iinfoParticipant,
            IOfficeEntities iOfficeEntities,
            IStoredProcedures istoredP
            )
        {
            this.iinfoParticipant = iinfoParticipant;
            this.ikartoteka2      = new Kartoteka2Info();
            this.idystans         = new DystansFiltr();
            this.iOfficeEntities  = iOfficeEntities;
            this.istoredP         = istoredP;

            this.icheck             = new CheckWerification();
            this.inewRec            = new NewRecord();
            this.iaddZaw            = new AddZawodnik(icheck);
            this.iplayer            = new PlayerVerification();
            this.isimpleAdd         = new SimpleAddingParticipant(inewRec, iaddZaw, iplayer);
            this.ireport            = new ParticipantResult();
            this.iresultParticipant = new ParticipantResultList();
        }
コード例 #3
0
 public bool AddNewParticipant(string name, string sname, string email, int dys_id,
                               ISimpleAddingParticipant2 isimpleAdd, IPlayerVerfication iparticipant,
                               IAddZawodnik iaddParticipant, INewRecord inewRecord)
 {
     if (isimpleAdd.validateFormatEmail(email))
     {
         var result = inewRecord.createNewRecord(name, sname, email, "", null, "", "", dys_id, 1);
         if (!iparticipant.searchPlayer(result))
         {
             return(iaddParticipant.addParticipantWithoutTimeRegistrationVerification(result));
         }
         else
         {
             this.errorInformation = "Zawodnik istnieje";
             return(false);
         }
     }
     else
     {
         return(false);
     }
 }
コード例 #4
0
 public SimpleAddingParticipant(INewRecord inewRecord, IAddZawodnik iaddZawodnik, IPlayerVerfication iparticipant)
 {
     this.inewRecord      = inewRecord;
     this.iaddParticipant = iaddZawodnik;
     this.iparticipant    = iparticipant;
 }