/// <summary>
        /// Method saves Ole secound page to DB
        /// </summary>
        /// <param name="model">OLEOPIEducationInformationPage model</param>
        public void SaveEducationInformationPage(OLEOPIEducationInformationPage model)
        {
            var dbModel = this.databaseHelper.Get<db.OLEOPIEducationInformationPage>(o => o.ApplicationId == model.ApplicationId);

            // Map Web model to DB model
            dbModel = model.ToDbModel(dbModel);
            this.databaseHelper.Update(dbModel);
        }
        public void Init()
        {
            this.dbModel = ClassPropertyInitializator.SetProperties<db.OLEOPIEducationInformationPage>(new db.OLEOPIEducationInformationPage());
            this.dbModel.PreviousStudiesWorkExperienceStatus = db.OLEOPIWorkExperienceType.NotHaveexperience;

            this.webModel = ClassPropertyInitializator.SetProperties<OLEOPIEducationInformationPage>(new OLEOPIEducationInformationPage());
            this.webModel.EducationInstitution = ClassPropertyInitializator.SetProperties<OLEOPIEducationInstitutionBlock>(new OLEOPIEducationInstitutionBlock());
            this.webModel.StayingLongerResoning = ClassPropertyInitializator.SetProperties<OLEOPIStayingBlock>(new OLEOPIStayingBlock());
            this.webModel.PreviousStudiesAndWork = ClassPropertyInitializator.SetProperties<OLEOPIPreviousStudiesBlock>(new OLEOPIPreviousStudiesBlock());

            this.dbModel.Id = this.webModel.PageId;
        }