public async Task <ActionResult> FillData(string PlanId)
        {
            var Selects = new LookupParameters
            {
                EventType = await BaseService.GetEvtType(),
                Priority  = await BaseService.GetRefLib("Priority"),
                Status    = await BaseService.GetRefLib("Status"),
                Scope     = await BaseService.GetRefLib("Scope"),
                Owner     = await BaseService.GetRefLib("NtfEventOwner"),
                Frequency = await BaseService.GetRefLib("NtfEventPeriodType"),
                Languages = await BaseService.GetRefLib("Language")
            };
            var Model = (await EventConfigService.GetNtfyEventConf(PlanId)).lookupParameters;

            if (Model.Any())
            {
                Selects.RefTo = await BaseService.GetEvtRefConf(Model.FirstOrDefault().EventTypeId); //WebGetEvtRefConf
            }
            if (!Model.Any())
            {
                Model.Add(new LookupParameters());
            }
            return(Json(new { Model = Model, Selects = Selects }, JsonRequestBehavior.AllowGet));
        }
        public async Task <ActionResult> WebNtfyEventConfSelect(string PlanId)
        {
            var model = (await EventConfigService.GetNtfyEventConf(PlanId)).lookupParameters;

            return(Json(model, JsonRequestBehavior.AllowGet));
        }