Пример #1
0
        // GET: /Administration/PredefinedIndicator/
        public virtual ActionResult Index()
        {
            DefaultSearchModel initSearchModel = new DefaultSearchModel()
            {
                IndicatorTypes   = null,
                PriorityAreas    = null,
                ResultFrameworks = null,
                IndicatorNumber  = string.Empty,
                IndicatorName    = string.Empty,
                UnitOfMeasure    = string.Empty,
                DisplayExpired   = false
            };

            return(View(initSearchModel));
        }
        public virtual ActionResult Index(int predefinedIndicatorId = 0, string module = "")
        {
            DefaultSearchModel initSearchModel = new DefaultSearchModel();

            initSearchModel.IndicatorTypes     = this.ClientPredefinedIndicator.GetIndicatorTypes();
            initSearchModel.PriorityAreas      = null;
            initSearchModel.ResultFrameworks   = null;
            initSearchModel.IndicatorNumber    = string.Empty;
            initSearchModel.IndicatorName      = string.Empty;
            initSearchModel.UnitOfMeasure      = string.Empty;
            initSearchModel.DisplayExpired     = false;
            initSearchModel.CurrentIndicatorid = predefinedIndicatorId;
            initSearchModel.Module             = module;

            return(View(initSearchModel));
        }
        public virtual ActionResult Link(int predefinedIndicatorId = 0, string module = "")
        {
            DefaultSearchModel initSearchModel = new DefaultSearchModel()
            {
                IndicatorTypes     = this.ClientPredefinedIndicator.GetIndicatorTypes(),
                PriorityAreas      = null,
                ResultFrameworks   = null,
                IndicatorNumber    = string.Empty,
                IndicatorName      = string.Empty,
                UnitOfMeasure      = string.Empty,
                DisplayExpired     = false,
                CurrentIndicatorid = predefinedIndicatorId,
                Module             = module
            };

            return(View(initSearchModel));
        }