public OwnerViewModel(Owner openOwner) { owner = openOwner; newEmployee = new tblUser(); newManager = new tblManager(); newStaff = new tblStaff(); qualification = new tblProfessionalQualification(); engagement = new tblEngagement(); gender = new tblGender(); engagementList = Service.Service.GetEngagementList(); qualificationList = Service.Service.GetQualificationList(); genderList = Service.Service.GetGenderList(); }
public RegistrationViewModel(Registration open) { registration = open; newUser = new tblUser(); newManager = new tblManager(); newEmployee = new tblEmployee(); //gender selectedGender = new tblGender(); genderList = Service.Service.GetGenderList(); //sector selectedSector = new tblSector(); sectorList = Service.Service.GetSectorList(); //marital status selectedMarital = new tblMarriageStatu(); maritalList = Service.Service.GetMaritalStatusList(); //position selectedPosition = new tblPosition(); positionList = Service.Service.GetPositionList(); //qualification selectedQualification = new tblProfessionalQualification(); qualificationList = Service.Service.GetQualificationList(); }