示例#1
0
        public async Task <IActionResult> Create()
        {
            var model = new TicketParametersViewModel
            {
                PriorityList   = await _parametersService.GetPriorityList(),
                StatusList     = await _parametersService.GetStatusList(),
                TicketTypeList = await _parametersService.GetTicketTypeList()
            };

            return(View(model));
        }
        public async Task <IActionResult> Index()
        {
            var model = await parametersService.GetPriorityList();

            return(View(model));
        }