public async Task <IActionResult> Create(CreateOrEditJobViewModel model) { if (ModelState.IsValid) { var job = Mapper.Map <Job>(model); await _jobManager.CreateAsync(job); Notifier.Success("你已成功创建了一条职位记录。"); return(RedirectToAction(nameof(List))); } return(View(model)); }