protected UiFormInput GetDropDownInput(string controller,
                                               MethodType type, string area
                                               , string inputName, string inputTranslate, FieldType fieldType)
        {
            //باید لیست باشد
            var uiinputmethosd = new List <UiInputMethod>();

            //خود ورودی
            var WorkgroupId = new UiInput
            {
                Name      = inputName,
                Translate = inputTranslate,
                FieldType = fieldType, UiInputMethods = uiinputmethosd
            };

            // متد اتصال ورودی
            var uiinputMethod = new UiInputMethod
            {
                ControllerName         = controller,
                MethodName             = type.ToString(),
                SubSystemName          = area,
                UiInput                = WorkgroupId,
                DefineControllerMethod = new DefineControllerMethod {
                    MethodType = type
                }
            };

            uiinputmethosd.Add(uiinputMethod);

            return(new UiFormInput
            {
                UiInput = WorkgroupId
            });
        }
        protected UiFormInput GetDropDownInput(string inputName, string inputTranslate
                                               , FieldType fieldType, SelectList selectList)
        {
            var inpt = new UiInput
            {
                Name      = inputName,
                Translate = inputTranslate,
                FieldType = fieldType
            };

            return(new UiFormInput
            {
                UiInput = inpt, SelectList = selectList
            });
        }