public void OnGet(string guid) { CodeType = _sysCodeTypeService.GetByGuidAsync(guid).Result.data; //获得列表 SelectList = _sysCodeTypeService.GetListAsync().Result.data; }
public void OnGet(ByGuidPost parm) { CodeType = _sysCodeTypeService.GetByGuidAsync(parm).Result.data; //获得列表 SelectList = _sysCodeTypeService.GetListAsync().Result.data; }
public IActionResult Modify(string codetypeid) { ViewBag.SysCodeTypeDto = _sysCodeTypeService.GetByIDAsync(codetypeid).Result.data; return(View(_sysCodeTypeService.GetListAsync().Result.data)); }