public async Task <ActionResult> Create([Bind("JobId,Description,ExecutionDomain")] Job Job) { try { // TODO: Add insert logic here Job acc = await _JobsService.AddAsync(Job); return(RedirectToAction(nameof(Index))); } catch { return(View()); } }
public async Task <ActionResult> Create([Bind("JobId,Description,ExecutionDomain")] Job Job) { try { // TODO: Add insert logic here Job acc = await _JobsService.AddAsync(Job); return(RedirectToAction(nameof(Index))); } catch { return(View()); } }