/// <summary>
        /// Form választó felépítéséhez frmFormGroup és frmForm táblák lekérdezése
        /// </summary>
        /// <param name="ID_hrStaff">kérést indító user ID</param>
        /// <returns>List<FormGroup></returns>
        public List<FormGroup> GetFormList(int ID_hrStaff)
        {
            ServiceConfig srvcont = new ServiceConfig(_serviceconfigparameters);
            List<FormGroup> myForms = new List<FormGroup>();
            var formgroups = srvcont.DataContext.tbl_frmFormGroup.Where(w => w.OBSOLATE == false);

            Validator validator = new Validator();

            foreach (var formgroup in formgroups)
            {
                if (validator.HasRoleForViewFormGroup(ID_hrStaff, formgroup.FormGroup))
                {
                    FormGroup fg = new FormGroup();
                    fg.text = formgroup.FormGroup;
                    fg.children = (from r in srvcont.DataContext.tbl_frmForm.Where(w => w.ID_frmFormGroup == formgroup.ID).OrderBy(o => o.Form)
                                   select new Form
                                   {
                                       id = r.ID,
                                       text = r.Form
                                   }).ToList();

                    myForms.Add(fg);
                }

            }

            return myForms;
        }